agx: Use more barriers
Fixes flakiness in KHR-GLES31.core.texture_buffer.texture_buffer_atomic_functions. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24847>
This commit is contained in:

committed by
Marge Bot

parent
f068ed0534
commit
240ee9564b
@@ -1126,6 +1126,12 @@ agx_emit_intrinsic(agx_builder *b, nir_intrinsic_instr *instr)
|
||||
/* Flush out the atomic to main memory */
|
||||
agx_memory_barrier(b);
|
||||
|
||||
/* TODO: Which ones do we actually need? */
|
||||
agx_image_barrier_1(b);
|
||||
agx_image_barrier_2(b);
|
||||
agx_image_barrier_3(b);
|
||||
agx_image_barrier_4(b);
|
||||
|
||||
/* Flush out the texture cache */
|
||||
agx_flush_memory_to_texture(b);
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user