[Piglit] [PATCH] arb_shader_image_load_store: call glMemoryBarrier before reading image

Timothy Arceri timothy.arceri at collabora.com
Sat Dec 12 20:00:51 PST 2015


Cc: Francisco Jerez <currojerez at riseup.net>
---
 .../execution/gl45-imageAtomicExchange-float.shader_test                 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/spec/arb_shader_image_load_store/execution/gl45-imageAtomicExchange-float.shader_test b/tests/spec/arb_shader_image_load_store/execution/gl45-imageAtomicExchange-float.shader_test
index 8b176d0..23f6d0a 100644
--- a/tests/spec/arb_shader_image_load_store/execution/gl45-imageAtomicExchange-float.shader_test
+++ b/tests/spec/arb_shader_image_load_store/execution/gl45-imageAtomicExchange-float.shader_test
@@ -40,5 +40,6 @@ relative probe rect rgb (0.0, 0.5, 0.5, 0.5) (0.0, 0.0, 0.0)
 relative probe rect rgb (0.5, 0.0, 0.5, 0.5) (0.0, 0.0, 0.0)
 relative probe rect rgb (0.5, 0.5, 0.5, 0.5) (1.0, 1.0, 1.0)
 
+memory barrier GL_FRAMEBUFFER_BARRIER_BIT
 fb tex 2d 0
 probe all rgb 0.5 0.0 0.0
-- 
2.4.3



More information about the Piglit mailing list