mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
vo_gpu: mark peak detection buffer coherent
This is required for buffer memory barriers to actually work
This commit is contained in:
parent
03171b19a9
commit
7174c063de
@ -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;"
|
||||
|
Loading…
Reference in New Issue
Block a user