From 7174c063de69e10ef1d860895c23941355960e8e Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 6 Jun 2020 02:20:43 +0200 Subject: vo_gpu: mark peak detection buffer coherent This is required for buffer memory barriers to actually work --- video/out/gpu/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;" -- cgit v1.2.3