diff options
author | Niklas Haas <git@haasn.dev> | 2021-12-06 23:59:14 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-12-19 15:58:12 +0100 |
commit | 7c0a9b8ff7a424d320247aacbf7ed8504d8ceb5c (patch) | |
tree | acd9ff58d9a34a430cc228c4f31a62092289a1b4 | |
parent | f2bc9e4dd112ac58f1178515e85fdef1cda78eff (diff) | |
download | mpv-7c0a9b8ff7a424d320247aacbf7ed8504d8ceb5c.tar.bz2 mpv-7c0a9b8ff7a424d320247aacbf7ed8504d8ceb5c.tar.xz |
vo_gpu: opengl: fix wrong glMemoryBarrier
This call was completely wrong.
-rw-r--r-- | video/out/opengl/ra_gl.c | 2 |
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: |