summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2015-11-04 12:50:30 -0800
committerJordan Justen <jordan.l.justen@intel.com>2016-02-16 09:02:58 -0800
commite0eb77448de6b839bbd33038fffedb8b7acf0593 (patch)
tree73c3ed9de9833087d23e33542a4c0b63900a7670 /tests
parent936a30e42fe2754dc25fb7247fd067ee91c61227 (diff)
arb_compute_shader: Add barrier() function compiler test
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/arb_compute_shader/compiler/barrier.comp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/spec/arb_compute_shader/compiler/barrier.comp b/tests/spec/arb_compute_shader/compiler/barrier.comp
new file mode 100644
index 000000000..8ee136902
--- /dev/null
+++ b/tests/spec/arb_compute_shader/compiler/barrier.comp
@@ -0,0 +1,15 @@
+// [config]
+// expect_result: pass
+// glsl_version: 4.20
+// require_extensions: GL_ARB_compute_shader
+// [end config]
+
+#version 420
+#extension GL_ARB_compute_shader: enable
+
+layout(local_size_x = 1) in;
+
+void main()
+{
+ barrier();
+}