summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2018-04-29 03:13:31 +0300
committerJan Ekström <jeebjp@gmail.com>2018-04-29 03:51:19 +0300
commitdc16d853797d514744998462e3aaa57a6ff7248d (patch)
tree3fafcd0ccb253cec1f860ce8b2350fccdd0fdfe2 /wscript_build.py
parent59d422f042192f41d222cd87019aacb2f604cd22 (diff)
downloadmpv-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 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions