summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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();
+}