[Piglit] [PATCH] arb_shader_image_load_store/compiler: Add memoryBarrier() tests

Samuel Iglesias Gonsalvez siglesias at igalia.com
Tue Sep 15 07:12:49 PDT 2015


Signed-off-by: Samuel Iglesias Gonsalvez <siglesias at igalia.com>
---
 generated_tests/gen_shader_image_load_store_tests.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/generated_tests/gen_shader_image_load_store_tests.py b/generated_tests/gen_shader_image_load_store_tests.py
index 00c4f27..296cae3 100644
--- a/generated_tests/gen_shader_image_load_store_tests.py
+++ b/generated_tests/gen_shader_image_load_store_tests.py
@@ -819,3 +819,11 @@ gen('builtin-qualifier-mismatch-writeonly', """\
     }
 """, product(image_load_builtin + image_atomic_builtins,
              image_types[:1], shader_stages))
+
+gen('memory-barrier', """\
+    ${header('pass')}
+    void main()
+    {
+        memoryBarrier();
+    }
+""", shader_stages)
-- 
2.1.4



More information about the Piglit mailing list