summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>2015-09-15 16:08:22 +0200
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>2015-09-16 07:30:20 +0200
commite7f5bf0eb25fe309390918564968a63886cbc95f (patch)
treef0abb9b75770c6c5348ab436d7cfb4a150289c2b
parent7b0cbea7a90496e524a0447d0b66cb3a3125d950 (diff)
arb_shader_image_load_store/compiler: Add memoryBarrier() tests
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
-rw-r--r--generated_tests/gen_shader_image_load_store_tests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/generated_tests/gen_shader_image_load_store_tests.py b/generated_tests/gen_shader_image_load_store_tests.py
index 00c4f275f..8d6be9cd7 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('builtin-memory-barrier', """\
+ ${header('pass')}
+ void main()
+ {
+ memoryBarrier();
+ }
+""", shader_stages)