summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2020-06-06 02:20:43 +0200
committerNiklas Haas <git@haasn.xyz>2020-06-06 02:20:43 +0200
commit7174c063de69e10ef1d860895c23941355960e8e (patch)
treeab3cb27ca2bd9e157123293f822a45f0560c7841
parent03171b19a9a0f66b0046c87f61ec4811c527dbf3 (diff)
downloadmpv-7174c063de69e10ef1d860895c23941355960e8e.tar.bz2
mpv-7174c063de69e10ef1d860895c23941355960e8e.tar.xz
vo_gpu: mark peak detection buffer coherent
This is required for buffer memory barriers to actually work
-rw-r--r--video/out/gpu/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c
index 1370436af2..dbe562ca8f 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, "PeakDetect", p->hdr_peak_ssbo,
+ gl_sc_ssbo(p->sc, "coherent PeakDetect", p->hdr_peak_ssbo,
"vec2 average;"
"int frame_sum;"
"uint frame_max;"