gl: Add missing memory barrier after texture decode

This commit is contained in:
kd-11 2022-10-21 15:26:10 +03:00 committed by kd-11
parent 23a445619b
commit 1bb0caed6f
1 changed files with 2 additions and 0 deletions

View File

@ -498,6 +498,8 @@ namespace gl
gl::get_overlay_pass<gl::rp_ssbo_to_generic_texture>()->run(cmd, transfer_buf, scratch_view.get(), out_offset, image_region, unpack_info);
}
glMemoryBarrier(GL_TEXTURE_FETCH_BARRIER_BIT | GL_TEXTURE_UPDATE_BARRIER_BIT);
switch (dst->get_target())
{
case texture::target::texture1D: