Skip to content

Commit 7c0a9b8

Browse files
haasnsfan5
authored andcommitted
vo_gpu: opengl: fix wrong glMemoryBarrier
This call was completely wrong.
1 parent f2bc9e4 commit 7c0a9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

video/out/opengl/ra_gl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ static void update_uniform(struct ra *ra, struct ra_renderpass *pass,
989989
gl->BindBufferBase(buf_gl->target, input->binding, buf_gl->buffer);
990990
// SSBOs are not implicitly coherent in OpengL
991991
if (input->type == RA_VARTYPE_BUF_RW)
992-
gl->MemoryBarrier(buf_gl->target);
992+
gl->MemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
993993
break;
994994
}
995995
default:

0 commit comments

Comments
 (0)