[Piglit] [PATCH 1/2] arb_arrays_of_arrays: change input compile tests to fragment shaders
Timothy Arceri
t_arceri at yahoo.com.au
Tue Mar 31 22:01:26 PDT 2015
Although the existing tests are valid until link time,
it doesn't make much sense to test this way.
---
.../compiler/input-array-array-var.frag | 15 +++++++++++++++
.../compiler/input-array-array-var.vert | 15 ---------------
.../compiler/input-array-var-array.frag | 15 +++++++++++++++
.../compiler/input-array-var-array.vert | 15 ---------------
.../compiler/input-var-array-array.frag | 15 +++++++++++++++
.../compiler/input-var-array-array.vert | 15 ---------------
6 files changed, 45 insertions(+), 45 deletions(-)
create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.frag
delete mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.vert
create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.frag
delete mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.vert
create mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.frag
delete mode 100644 tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.vert
diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.frag b/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.frag
new file mode 100644
index 0000000..45313ee
--- /dev/null
+++ b/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.frag
@@ -0,0 +1,15 @@
+/* [config]
+ * expect_result: pass
+ * glsl_version: 1.50
+ * require_extensions: GL_ARB_arrays_of_arrays
+ * [end config]
+ */
+#version 150
+#extension GL_ARB_arrays_of_arrays: enable
+
+in vec4[3][1] an_array;
+
+void main()
+{
+ gl_FragColor = an_array[0][0];
+}
diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.vert b/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.vert
deleted file mode 100644
index cd945bf..0000000
--- a/tests/spec/arb_arrays_of_arrays/compiler/input-array-array-var.vert
+++ /dev/null
@@ -1,15 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.50
- * require_extensions: GL_ARB_arrays_of_arrays
- * [end config]
- */
-#version 150
-#extension GL_ARB_arrays_of_arrays: enable
-
-in vec4[3][1] an_array;
-
-void main()
-{
- gl_Position = an_array[0][0];
-}
diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.frag b/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.frag
new file mode 100644
index 0000000..ea0ce56
--- /dev/null
+++ b/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.frag
@@ -0,0 +1,15 @@
+/* [config]
+ * expect_result: pass
+ * glsl_version: 1.50
+ * require_extensions: GL_ARB_arrays_of_arrays
+ * [end config]
+ */
+#version 150
+#extension GL_ARB_arrays_of_arrays: enable
+
+in vec4[1] an_array[3];
+
+void main()
+{
+ gl_FragColor = an_array[0][0];
+}
diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.vert b/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.vert
deleted file mode 100644
index 1f234aa..0000000
--- a/tests/spec/arb_arrays_of_arrays/compiler/input-array-var-array.vert
+++ /dev/null
@@ -1,15 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.50
- * require_extensions: GL_ARB_arrays_of_arrays
- * [end config]
- */
-#version 150
-#extension GL_ARB_arrays_of_arrays: enable
-
-in vec4[1] an_array[3];
-
-void main()
-{
- gl_Position = an_array[0][0];
-}
diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.frag b/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.frag
new file mode 100644
index 0000000..acd407a
--- /dev/null
+++ b/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.frag
@@ -0,0 +1,15 @@
+/* [config]
+ * expect_result: pass
+ * glsl_version: 1.50
+ * require_extensions: GL_ARB_arrays_of_arrays
+ * [end config]
+ */
+#version 150
+#extension GL_ARB_arrays_of_arrays: enable
+
+in vec4 an_array[3][1];
+
+void main()
+{
+ gl_FragColor = an_array[0][0];
+}
diff --git a/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.vert b/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.vert
deleted file mode 100644
index 0f1e85d..0000000
--- a/tests/spec/arb_arrays_of_arrays/compiler/input-var-array-array.vert
+++ /dev/null
@@ -1,15 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.50
- * require_extensions: GL_ARB_arrays_of_arrays
- * [end config]
- */
-#version 150
-#extension GL_ARB_arrays_of_arrays: enable
-
-in vec4 an_array[3][1];
-
-void main()
-{
- gl_Position = an_array[0][0];
-}
--
2.1.4
More information about the Piglit
mailing list