[Piglit] [PATCH 5/8] arb_tessellation_shader: Add nop compiler tests
Jordan Justen
jordan.l.justen at intel.com
Mon Jun 2 15:44:06 PDT 2014
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
tests/all.py | 3 +++
tests/spec/arb_tessellation_shader/compiler/nop.tessc | 14 ++++++++++++++
tests/spec/arb_tessellation_shader/compiler/nop.tesse | 12 ++++++++++++
3 files changed, 29 insertions(+)
create mode 100644 tests/spec/arb_tessellation_shader/compiler/nop.tessc
create mode 100644 tests/spec/arb_tessellation_shader/compiler/nop.tesse
diff --git a/tests/all.py b/tests/all.py
index 4972998..87d773c 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -3180,6 +3180,9 @@ spec['ARB_compute_shader']['built-in constants'] = concurrent_test('built-in-con
arb_tessellation_shader = {}
spec['ARB_tessellation_shader'] = arb_tessellation_shader
arb_tessellation_shader['minmax'] = concurrent_test('arb_tessellation_shader-minmax')
+import_glsl_parser_tests(spec['ARB_tessellation_shader'],
+ os.path.join(testsDir, 'spec', 'arb_tessellation_shader'),
+ ['compiler'])
spec['ARB_tessellation_shader']['built-in constants'] = concurrent_test('built-in-constants tests/spec/arb_tessellation_shader/minimum-maximums.txt')
# group glslparsertest ------------------------------------------------------
diff --git a/tests/spec/arb_tessellation_shader/compiler/nop.tessc b/tests/spec/arb_tessellation_shader/compiler/nop.tessc
new file mode 100644
index 0000000..a1c308d
--- /dev/null
+++ b/tests/spec/arb_tessellation_shader/compiler/nop.tessc
@@ -0,0 +1,14 @@
+// [config]
+// expect_result: pass
+// glsl_version: 3.20
+// require_extensions: GL_ARB_tessellation_shader
+// [end config]
+
+#version 330
+#extension GL_ARB_compute_shader: enable
+
+layout(vertices = 1) out;
+
+void main()
+{
+}
diff --git a/tests/spec/arb_tessellation_shader/compiler/nop.tesse b/tests/spec/arb_tessellation_shader/compiler/nop.tesse
new file mode 100644
index 0000000..68fffa3
--- /dev/null
+++ b/tests/spec/arb_tessellation_shader/compiler/nop.tesse
@@ -0,0 +1,12 @@
+// [config]
+// expect_result: pass
+// glsl_version: 3.20
+// require_extensions: GL_ARB_tessellation_shader
+// [end config]
+
+#version 330
+#extension GL_ARB_compute_shader: enable
+
+void main()
+{
+}
--
2.0.0.rc4
More information about the Piglit
mailing list