diff options
author | Niklas Haas <git@haasn.xyz> | 2020-06-10 17:16:43 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2020-06-10 17:16:43 +0200 |
commit | c7fe4ae73ad5f073bbffe3e8a3460b728e7d0f46 (patch) | |
tree | 96d9baa333c88992511f85a38d9a68ff03208ac6 /video/out/gpu/video.c | |
parent | 44ad00ba1001c18539494c3333c508436aa898e8 (diff) | |
download | mpv-c7fe4ae73ad5f073bbffe3e8a3460b728e7d0f46.tar.bz2 mpv-c7fe4ae73ad5f073bbffe3e8a3460b728e7d0f46.tar.xz |
vo_gpu: move coherent specifier to the correct location
glslang accepted this, perhaps erronneously, but mesa does not. It seems
to be incorrect. A caveat is that this means *all* SSBOs are now
coherent, but since we only use SSBOs for peak detection, that's a
non-issue. (And besides, marking something as coherent when we don't
perform any synchronization commands on it should be a no-op anyway)
Fixes #7823
Diffstat (limited to 'video/out/gpu/video.c')
-rw-r--r-- | video/out/gpu/video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c index 74ff85f210..500ec6af22 100644 --- a/video/out/gpu/video.c +++ b/video/out/gpu/video.c @@ -2636,7 +2636,7 @@ static void pass_colormanage(struct gl_video *p, struct mp_colorspace src, if (detect_peak) { pass_describe(p, "detect HDR peak"); pass_is_compute(p, 8, 8, true); // 8x8 is good for performance - gl_sc_ssbo(p->sc, "coherent PeakDetect", p->hdr_peak_ssbo, + gl_sc_ssbo(p->sc, "PeakDetect", p->hdr_peak_ssbo, "vec2 average;" "int frame_sum;" "uint frame_max;" |