[Piglit] [PATCH 2/3] arb_compute_shader: Add barrier() function compiler test

Jordan Justen jordan.l.justen at intel.com
Thu Nov 5 10:50:05 PST 2015


Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 tests/spec/arb_compute_shader/compiler/barrier.comp | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 tests/spec/arb_compute_shader/compiler/barrier.comp

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 0000000..23b49c2
--- /dev/null
+++ b/tests/spec/arb_compute_shader/compiler/barrier.comp
@@ -0,0 +1,15 @@
+// [config]
+// expect_result: pass
+// glsl_version: 3.30
+// require_extensions: GL_ARB_compute_shader
+// [end config]
+
+#version 330
+#extension GL_ARB_compute_shader: enable
+
+layout(local_size_x = 1) in;
+
+void main()
+{
+    barrier();
+}
-- 
2.6.2



More information about the Piglit mailing list