summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2021-12-06 23:59:14 +0100
committerNiklas Haas <git@haasn.dev>2021-12-06 23:59:14 +0100
commit9b06a71a5d6d3bb231f92abf11ebf513a7b87922 (patch)
tree92c62771e30eeb71af776e28172800543a61d841 /video/out
parent77142ed9b8aec67a846e91cdc4dddd3013f643bc (diff)
downloadmpv-9b06a71a5d6d3bb231f92abf11ebf513a7b87922.tar.bz2
mpv-9b06a71a5d6d3bb231f92abf11ebf513a7b87922.tar.xz
vo_gpu: opengl: fix wrong glMemoryBarrier
This call was completely wrong.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/opengl/ra_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/ra_gl.c b/video/out/opengl/ra_gl.c
index b7deba9fbe..b0c5b34e8e 100644
--- a/video/out/opengl/ra_gl.c
+++ b/video/out/opengl/ra_gl.c
@@ -989,7 +989,7 @@ static void update_uniform(struct ra *ra, struct ra_renderpass *pass,
gl->BindBufferBase(buf_gl->target, input->binding, buf_gl->buffer);
// SSBOs are not implicitly coherent in OpengL
if (input->type == RA_VARTYPE_BUF_RW)
- gl->MemoryBarrier(buf_gl->target);
+ gl->MemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
break;
}
default: