diff options
author | Niklas Haas <git@haasn.xyz> | 2018-04-29 03:13:31 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-04-29 03:51:19 +0300 |
commit | dc16d853797d514744998462e3aaa57a6ff7248d (patch) | |
tree | 3fafcd0ccb253cec1f860ce8b2350fccdd0fdfe2 /TOOLS/lua/pause-when-minimize.lua | |
parent | 59d422f042192f41d222cd87019aacb2f604cd22 (diff) | |
download | mpv-dc16d853797d514744998462e3aaa57a6ff7248d.tar.bz2 mpv-dc16d853797d514744998462e3aaa57a6ff7248d.tar.xz |
gpu/video: make HDR peak computing work without work group count
Define a hard-coded value for gl_NumWorkGroups if it is not available.
This adds an additional requirement of needing a shader recompile for
all window size changes.
This was considered a worthwhile compromise as currently f.ex. d3d11
completely lacked any peak computation - this is a major quality of
life upgrade.
Diffstat (limited to 'TOOLS/lua/pause-when-minimize.lua')
0 files changed, 0 insertions, 0 deletions