Skip to content

Add missing glMemoryBarrier between SSBO write and GetBufferSubData

Kenneth Graunke requested to merge kwg/piglit:post-depth-coverage-barrier into main

In order for glGetBufferSubData to see the results from the SSBO writes in the previous draw's shaders, it's necessary to call glMemoryBarrier(GL_BUFFER_UPDATE_BARRIER_BIT).

Fixes failures on iris when preferring GPU blits for GetBufferSubData (to avoid uncached VRAM reads on discrete cards).

Merge request reports

Loading