deleted file mode 100644
@@ -1,28 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.00
-// check_link: true
-// [end config]
-//
-// Check that an array can be used as a function inout parameter in
-// GLSL ES 1.00.
-//
-// In this test, the array is declared using C-style array
-// declaration syntax (float x[2] as opposed to float[2] x).
-//
-// From section 5.8 of the GLSL ES 1.00 spec:
-// Array variables are l-values and may be passed to parameters
-// declared as out or inout. However, they may not be used as the
-// target of an assignment.
-
-#version 100
-
-void f(inout float x[2])
-{
-}
-
-void main()
-{
- float[2] x;
- f(x);
-}
deleted file mode 100644
@@ -1,29 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.00
-// check_link: true
-// [end config]
-//
-// Check that an array can be used as a function inout parameter in
-// GLSL ES 1.00.
-//
-// In this test, the array is declared using C-style array
-// declaration syntax (float x[2] as opposed to float[2] x).
-//
-// From section 5.8 of the GLSL ES 1.00 spec:
-// Array variables are l-values and may be passed to parameters
-// declared as out or inout. However, they may not be used as the
-// target of an assignment.
-
-#version 100
-
-void f(inout float x[2])
-{
-}
-
-void main()
-{
- float[2] x;
- f(x);
- gl_Position = vec4(0.0);
-}
deleted file mode 100644
@@ -1,28 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.00
-// check_link: true
-// [end config]
-//
-// Check that an array can be used as a function out parameter in
-// GLSL ES 1.00.
-//
-// In this test, the array is declared using C-style array
-// declaration syntax (float x[2] as opposed to float[2] x).
-//
-// From section 5.8 of the GLSL ES 1.00 spec:
-// Array variables are l-values and may be passed to parameters
-// declared as out or inout. However, they may not be used as the
-// target of an assignment.
-
-#version 100
-
-void f(out float x[2])
-{
-}
-
-void main()
-{
- float[2] x;
- f(x);
-}
deleted file mode 100644
@@ -1,29 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.00
-// check_link: true
-// [end config]
-//
-// Check that an array can be used as a function out parameter in
-// GLSL 1.00.
-//
-// In this test, the array is declared using C-style array
-// declaration syntax (float x[2] as opposed to float[2] x).
-//
-// From section 5.8 of the GLSL ES 1.00 spec:
-// Array variables are l-values and may be passed to parameters
-// declared as out or inout. However, they may not be used as the
-// target of an assignment.
-
-#version 100
-
-void f(out float x[2])
-{
-}
-
-void main()
-{
- float[2] x;
- f(x);
- gl_Position = vec4(0.0);
-}
new file mode 100644
@@ -0,0 +1,28 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.00
+// check_link: true
+// [end config]
+//
+// Check that an array can be used as a function inout parameter in
+// GLSL ES 1.00.
+//
+// In this test, the array is declared using C-style array
+// declaration syntax (float x[2] as opposed to float[2] x).
+//
+// From section 5.8 of the GLSL ES 1.00 spec:
+// Array variables are l-values and may be passed to parameters
+// declared as out or inout. However, they may not be used as the
+// target of an assignment.
+
+#version 100
+
+void f(inout float x[2])
+{
+}
+
+void main()
+{
+ float[2] x;
+ f(x);
+}
new file mode 100644
@@ -0,0 +1,29 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.00
+// check_link: true
+// [end config]
+//
+// Check that an array can be used as a function inout parameter in
+// GLSL ES 1.00.
+//
+// In this test, the array is declared using C-style array
+// declaration syntax (float x[2] as opposed to float[2] x).
+//
+// From section 5.8 of the GLSL ES 1.00 spec:
+// Array variables are l-values and may be passed to parameters
+// declared as out or inout. However, they may not be used as the
+// target of an assignment.
+
+#version 100
+
+void f(inout float x[2])
+{
+}
+
+void main()
+{
+ float[2] x;
+ f(x);
+ gl_Position = vec4(0.0);
+}
new file mode 100644
@@ -0,0 +1,28 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.00
+// check_link: true
+// [end config]
+//
+// Check that an array can be used as a function out parameter in
+// GLSL ES 1.00.
+//
+// In this test, the array is declared using C-style array
+// declaration syntax (float x[2] as opposed to float[2] x).
+//
+// From section 5.8 of the GLSL ES 1.00 spec:
+// Array variables are l-values and may be passed to parameters
+// declared as out or inout. However, they may not be used as the
+// target of an assignment.
+
+#version 100
+
+void f(out float x[2])
+{
+}
+
+void main()
+{
+ float[2] x;
+ f(x);
+}
new file mode 100644
@@ -0,0 +1,29 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.00
+// check_link: true
+// [end config]
+//
+// Check that an array can be used as a function out parameter in
+// GLSL 1.00.
+//
+// In this test, the array is declared using C-style array
+// declaration syntax (float x[2] as opposed to float[2] x).
+//
+// From section 5.8 of the GLSL ES 1.00 spec:
+// Array variables are l-values and may be passed to parameters
+// declared as out or inout. However, they may not be used as the
+// target of an assignment.
+
+#version 100
+
+void f(out float x[2])
+{
+}
+
+void main()
+{
+ float[2] x;
+ f(x);
+ gl_Position = vec4(0.0);
+}
Move contents of tests/spec/glsl-1.00/compiler/qualifiers to tests/spec/glsl-es-1.00/compiler/qualifiers Signed-off-by: Tom Gall <tom.gall@linaro.org> --- .../qualifiers/fn-inout-array-allowed-cstyle.frag | 28 ------------------- .../qualifiers/fn-inout-array-allowed-cstyle.vert | 29 -------------------- .../qualifiers/fn-out-array-allowed-cstyle.frag | 28 ------------------- .../qualifiers/fn-out-array-allowed-cstyle.vert | 29 -------------------- .../qualifiers/fn-inout-array-allowed-cstyle.frag | 28 +++++++++++++++++++ .../qualifiers/fn-inout-array-allowed-cstyle.vert | 29 ++++++++++++++++++++ .../qualifiers/fn-out-array-allowed-cstyle.frag | 28 +++++++++++++++++++ .../qualifiers/fn-out-array-allowed-cstyle.vert | 29 ++++++++++++++++++++ 8 files changed, 114 insertions(+), 114 deletions(-) delete mode 100644 tests/spec/glsl-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.frag delete mode 100644 tests/spec/glsl-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.vert delete mode 100644 tests/spec/glsl-1.00/compiler/qualifiers/fn-out-array-allowed-cstyle.frag delete mode 100644 tests/spec/glsl-1.00/compiler/qualifiers/fn-out-array-allowed-cstyle.vert create mode 100644 tests/spec/glsl-es-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.frag create mode 100644 tests/spec/glsl-es-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.vert create mode 100644 tests/spec/glsl-es-1.00/compiler/qualifiers/fn-out-array-allowed-cstyle.frag create mode 100644 tests/spec/glsl-es-1.00/compiler/qualifiers/fn-out-array-allowed-cstyle.vert