glsl: Remove 'tests' subfolder.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 2 Mar 2011 23:22:46 +0000 (15:22 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 2 Mar 2011 23:25:49 +0000 (15:25 -0800)
These have long since moved to piglit and aren't useful to have here.

70 files changed:
src/glsl/tests/array-01.glsl [deleted file]
src/glsl/tests/array-02.glsl [deleted file]
src/glsl/tests/array-03.glsl [deleted file]
src/glsl/tests/array-04.glsl [deleted file]
src/glsl/tests/array-05.glsl [deleted file]
src/glsl/tests/array-06.glsl [deleted file]
src/glsl/tests/array-07.glsl [deleted file]
src/glsl/tests/array-08.glsl [deleted file]
src/glsl/tests/array-09.glsl [deleted file]
src/glsl/tests/array-10.glsl [deleted file]
src/glsl/tests/array-11.glsl [deleted file]
src/glsl/tests/array-12.glsl [deleted file]
src/glsl/tests/array-13.glsl [deleted file]
src/glsl/tests/attribute-01.glsl [deleted file]
src/glsl/tests/attribute-02.glsl [deleted file]
src/glsl/tests/attribute-03.glsl [deleted file]
src/glsl/tests/attribute-04.glsl [deleted file]
src/glsl/tests/attribute-05.glsl [deleted file]
src/glsl/tests/attribute-06.glsl [deleted file]
src/glsl/tests/attribute-07.glsl [deleted file]
src/glsl/tests/attribute-08.glsl [deleted file]
src/glsl/tests/attribute-09.glsl [deleted file]
src/glsl/tests/attribute-10.glsl [deleted file]
src/glsl/tests/attribute-11.glsl [deleted file]
src/glsl/tests/condition-01.glsl [deleted file]
src/glsl/tests/condition-02.glsl [deleted file]
src/glsl/tests/condition-03.glsl [deleted file]
src/glsl/tests/condition-04.glsl [deleted file]
src/glsl/tests/condition-05.glsl [deleted file]
src/glsl/tests/constructor-01.glsl [deleted file]
src/glsl/tests/constructor-02.glsl [deleted file]
src/glsl/tests/constructor-03.glsl [deleted file]
src/glsl/tests/constructor-04.glsl [deleted file]
src/glsl/tests/constructor-05.glsl [deleted file]
src/glsl/tests/constructor-06.glsl [deleted file]
src/glsl/tests/constructor-07.glsl [deleted file]
src/glsl/tests/constructor-08.glsl [deleted file]
src/glsl/tests/constructor-09.glsl [deleted file]
src/glsl/tests/function-01.glsl [deleted file]
src/glsl/tests/function-02.glsl [deleted file]
src/glsl/tests/function-03.glsl [deleted file]
src/glsl/tests/function-04.glsl [deleted file]
src/glsl/tests/function-05.glsl [deleted file]
src/glsl/tests/if-01.glsl [deleted file]
src/glsl/tests/if-02.glsl [deleted file]
src/glsl/tests/if-03.glsl [deleted file]
src/glsl/tests/if-04.glsl [deleted file]
src/glsl/tests/matrix-01.glsl [deleted file]
src/glsl/tests/matrix-02.glsl [deleted file]
src/glsl/tests/matrix-03.glsl [deleted file]
src/glsl/tests/matrix-04.glsl [deleted file]
src/glsl/tests/matrix-05.glsl [deleted file]
src/glsl/tests/matrix-06.glsl [deleted file]
src/glsl/tests/matrix-07.glsl [deleted file]
src/glsl/tests/matrix-08.glsl [deleted file]
src/glsl/tests/matrix-09.glsl [deleted file]
src/glsl/tests/matrix-10.glsl [deleted file]
src/glsl/tests/parameters-01.glsl [deleted file]
src/glsl/tests/parameters-02.glsl [deleted file]
src/glsl/tests/parameters-03.glsl [deleted file]
src/glsl/tests/qualifier-01.glsl [deleted file]
src/glsl/tests/qualifier-02.glsl [deleted file]
src/glsl/tests/qualifier-03.glsl [deleted file]
src/glsl/tests/qualifier-04.glsl [deleted file]
src/glsl/tests/qualifier-05.glsl [deleted file]
src/glsl/tests/qualifier-06.glsl [deleted file]
src/glsl/tests/qualifier-07.glsl [deleted file]
src/glsl/tests/swiz-01.glsl [deleted file]
src/glsl/tests/swiz-02.glsl [deleted file]
src/glsl/tests/void-01.glsl [deleted file]

diff --git a/src/glsl/tests/array-01.glsl b/src/glsl/tests/array-01.glsl
deleted file mode 100644 (file)
index d14135f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#version 120
-/* FAIL - array size type must be int */
-uniform vec4 [3.2] a;
diff --git a/src/glsl/tests/array-02.glsl b/src/glsl/tests/array-02.glsl
deleted file mode 100644 (file)
index d743617..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#version 120
-/* FAIL - array size type must be scalar */
-uniform vec4 [ivec4(3)] a;
diff --git a/src/glsl/tests/array-03.glsl b/src/glsl/tests/array-03.glsl
deleted file mode 100644 (file)
index 0026913..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#version 120
-/* PASS */
-uniform vec4 [3] a;
diff --git a/src/glsl/tests/array-04.glsl b/src/glsl/tests/array-04.glsl
deleted file mode 100644 (file)
index 70f434d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* FAIL - array size type must be int */
-uniform vec4 a[3.2];
diff --git a/src/glsl/tests/array-05.glsl b/src/glsl/tests/array-05.glsl
deleted file mode 100644 (file)
index 1687040..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* FAIL - array size type must be scalar */
-uniform vec4 a[ivec4(3)];
diff --git a/src/glsl/tests/array-06.glsl b/src/glsl/tests/array-06.glsl
deleted file mode 100644 (file)
index 46b4379..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* PASS */
-uniform vec4 a[3];
diff --git a/src/glsl/tests/array-07.glsl b/src/glsl/tests/array-07.glsl
deleted file mode 100644 (file)
index 161ffbf..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* FAIL - array size must be > 0 */
-uniform vec4 a[0];
diff --git a/src/glsl/tests/array-08.glsl b/src/glsl/tests/array-08.glsl
deleted file mode 100644 (file)
index 4bf0c6b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* FAIL - array size must be > 0 */
-uniform vec4 a[-1];
diff --git a/src/glsl/tests/array-09.glsl b/src/glsl/tests/array-09.glsl
deleted file mode 100644 (file)
index cad6d0e..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#version 120
-/* PASS */
-
-void main()
-{
-  vec4 a[2] = vec4 [2] (vec4(1.0), vec4(2.0));
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/array-10.glsl b/src/glsl/tests/array-10.glsl
deleted file mode 100644 (file)
index 019aa21..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* FAIL - array constructors forbidden in GLSL 1.10
- *
- * This can also generate an error because the 'vec4[]' style syntax is
- * illegal in GLSL 1.10.
- */
-void main()
-{
-  vec4 a[2] = vec4 [2] (vec4(1.0), vec4(2.0));
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/array-11.glsl b/src/glsl/tests/array-11.glsl
deleted file mode 100644 (file)
index 51d94e9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#version 120
-/* PASS */
-
-void main()
-{
-  vec4 a[] = vec4 [] (vec4(1.0), vec4(2.0));
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/array-12.glsl b/src/glsl/tests/array-12.glsl
deleted file mode 100644 (file)
index 7fc9579..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#version 120
-/* FAIL - array must have an implicit or explicit size */
-
-void main()
-{
-  vec4 a[];
-
-  a = vec4 [2] (vec4(1.0), vec4(2.0));
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/array-13.glsl b/src/glsl/tests/array-13.glsl
deleted file mode 100644 (file)
index cc7e29a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#version 120
-/* PASS */
-
-void main()
-{
-  vec4 a[2];
-
-  a = vec4 [] (vec4(1.0), vec4(2.0));
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/attribute-01.glsl b/src/glsl/tests/attribute-01.glsl
deleted file mode 100644 (file)
index 18e9e44..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - attribute cannot have type int */
-attribute int i;
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/attribute-02.glsl b/src/glsl/tests/attribute-02.glsl
deleted file mode 100644 (file)
index 6b6df74..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - attribute cannot have type ivec2 */
-attribute ivec2 i;
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/attribute-03.glsl b/src/glsl/tests/attribute-03.glsl
deleted file mode 100644 (file)
index 870de9e..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - attribute cannot have type ivec3 */
-attribute ivec3 i;
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/attribute-04.glsl b/src/glsl/tests/attribute-04.glsl
deleted file mode 100644 (file)
index 14af2fc..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - attribute cannot have type ivec4 */
-attribute ivec4 i;
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/attribute-05.glsl b/src/glsl/tests/attribute-05.glsl
deleted file mode 100644 (file)
index 18822c7..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - attribute cannot have type bool */
-attribute bool i;
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/attribute-06.glsl b/src/glsl/tests/attribute-06.glsl
deleted file mode 100644 (file)
index f18027b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - attribute cannot have type bvec2 */
-attribute bvec2 i;
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/attribute-07.glsl b/src/glsl/tests/attribute-07.glsl
deleted file mode 100644 (file)
index 0af13ba..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - attribute cannot have type bvec3 */
-attribute bvec3 i;
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/attribute-08.glsl b/src/glsl/tests/attribute-08.glsl
deleted file mode 100644 (file)
index b069c04..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - attribute cannot have type bvec4 */
-attribute bvec4 i;
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/attribute-09.glsl b/src/glsl/tests/attribute-09.glsl
deleted file mode 100644 (file)
index 6a60724..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - attribute cannot have array type in GLSL 1.10 */
-attribute vec4 i[10];
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/attribute-10.glsl b/src/glsl/tests/attribute-10.glsl
deleted file mode 100644 (file)
index 6f5ef63..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#version 120
-/* FAIL - attribute cannot have array type in GLSL 1.20 */
-attribute vec4 i[10];
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/attribute-11.glsl b/src/glsl/tests/attribute-11.glsl
deleted file mode 100644 (file)
index 47cb5a0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#version 130
-/* FAIL - attribute cannot have array type in GLSL 1.30 */
-attribute vec4 i[10];
-
-void main()
-{
-  gl_Position = vec4(1.0);
-}
diff --git a/src/glsl/tests/condition-01.glsl b/src/glsl/tests/condition-01.glsl
deleted file mode 100644 (file)
index d89c313..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/* FAIL - :? condition is not bool scalar */
-
-uniform bvec4 a;
-
-void main()
-{
-  gl_Position = (a) ? vec4(1.0, 0.0, 0.0, 1.0) : vec4(0.0, 1.0, 0.0, 1.0);
-}
diff --git a/src/glsl/tests/condition-02.glsl b/src/glsl/tests/condition-02.glsl
deleted file mode 100644 (file)
index cbd0e18..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/* FAIL - :? condition is not bool scalar */
-
-uniform float a;
-
-void main()
-{
-  gl_Position = (a) ? vec4(1.0, 0.0, 0.0, 1.0) : vec4(0.0, 1.0, 0.0, 1.0);
-}
diff --git a/src/glsl/tests/condition-03.glsl b/src/glsl/tests/condition-03.glsl
deleted file mode 100644 (file)
index 9af5d7a..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/* PASS */
-
-uniform bool a;
-
-void main()
-{
-  gl_Position = (a) ? vec4(1.0, 0.0, 0.0, 1.0) : vec4(0.0, 1.0, 0.0, 1.0);
-}
diff --git a/src/glsl/tests/condition-04.glsl b/src/glsl/tests/condition-04.glsl
deleted file mode 100644 (file)
index f440b7e..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/* FAIL - type of second two operands must match */
-
-uniform bool a;
-
-void main()
-{
-  gl_Position = (a) ? vec4(1.0, 0.0, 0.0, 1.0) : vec3(0.0, 1.0, 0.0);
-}
diff --git a/src/glsl/tests/condition-05.glsl b/src/glsl/tests/condition-05.glsl
deleted file mode 100644 (file)
index 3dff18f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#version 120
-/* PASS */
-
-uniform bool a;
-uniform int b;
-
-void main()
-{
-  float x;
-
-  x = (a) ? 2.0 : b;
-  gl_Position = vec4(x);
-}
diff --git a/src/glsl/tests/constructor-01.glsl b/src/glsl/tests/constructor-01.glsl
deleted file mode 100644 (file)
index fdfaf89..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* PASS */
-
-void main()
-{
-  gl_Position = vec4(1.0, 1.0, 1.0, 0.0);;
-}
diff --git a/src/glsl/tests/constructor-02.glsl b/src/glsl/tests/constructor-02.glsl
deleted file mode 100644 (file)
index 47acbe9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - cannot construct samplers */
-void main()
-{
-  int i;
-
-  i = sampler2D(0);
-}
diff --git a/src/glsl/tests/constructor-03.glsl b/src/glsl/tests/constructor-03.glsl
deleted file mode 100644 (file)
index 07ec225..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/* FAIL - cannot construct a matrix from a matrix in GLSL 1.10 */
-
-uniform mat2 a;
-
-void main()
-{
-  mat2 b;
-
-  b = mat2(a);
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/constructor-04.glsl b/src/glsl/tests/constructor-04.glsl
deleted file mode 100644 (file)
index 19d5e01..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#version 120
-/* FAIL - matrix must be only parameter to matrix constructor */
-
-uniform mat2 a;
-uniform float x;
-
-void main()
-{
-  mat2 b;
-
-  b = mat2(a, x);
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/constructor-05.glsl b/src/glsl/tests/constructor-05.glsl
deleted file mode 100644 (file)
index 9c74f75..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/* FAIL - too few components supplied to constructor */
-
-uniform vec2 a;
-uniform float x;
-
-void main()
-{
-  mat2 b;
-
-  b = mat2(a, x);
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/constructor-06.glsl b/src/glsl/tests/constructor-06.glsl
deleted file mode 100644 (file)
index d77a5f9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#version 120
-/* PASS */
-
-uniform mat2 a;
-
-void main()
-{
-  mat2 b;
-
-  b = mat2(a);
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/constructor-07.glsl b/src/glsl/tests/constructor-07.glsl
deleted file mode 100644 (file)
index 9232250..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/* PASS */
-
-uniform ivec2 a;
-uniform ivec2 b;
-
-void main()
-{
-  mat2 c;
-
-  c = mat2(a, b);
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/constructor-08.glsl b/src/glsl/tests/constructor-08.glsl
deleted file mode 100644 (file)
index 27153f0..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/* PASS */
-
-uniform float a;
-uniform float b;
-
-void main()
-{
-  ivec2 c;
-
-  c = ivec2(a, b);
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/constructor-09.glsl b/src/glsl/tests/constructor-09.glsl
deleted file mode 100644 (file)
index 1985699..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/* PASS */
-
-uniform int a;
-uniform float b;
-uniform bool c;
-
-void main()
-{
-  float x;
-  int y;
-  bool z;
-
-  x = float(a);
-  x = float(b);
-  x = float(c);
-
-  y = int(a);
-  y = int(b);
-  y = int(c);
-
-  z = bool(a);
-  z = bool(b);
-  z = bool(c);
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/function-01.glsl b/src/glsl/tests/function-01.glsl
deleted file mode 100644 (file)
index 0eaa239..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* FAIL - no function named 'foo' exists */
-
-vec4 bar(float x, float y, float z, float w)
-{
-  vec4 v;
-  v.x = x;
-  v.y = y;
-  v.z = z;
-  v.w = w;
-  return v;
-}
-
-void main()
-{
-  gl_Position = foo(1.0, 1.0, 1.0, 0.0);
-}
diff --git a/src/glsl/tests/function-02.glsl b/src/glsl/tests/function-02.glsl
deleted file mode 100644 (file)
index 941fcc1..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* FAIL - no version of 'foo' matches the call to 'foo' */
-
-vec4 foo(float x, float y, float z, float w)
-{
-  vec4 v;
-  v.x = x;
-  v.y = y;
-  v.z = z;
-  v.w = w;
-  return v;
-}
-
-void main()
-{
-  gl_Position = foo(1.0, 1.0, 1.0);
-}
diff --git a/src/glsl/tests/function-03.glsl b/src/glsl/tests/function-03.glsl
deleted file mode 100644 (file)
index b0da42f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* PASS */
-
-vec4 foo(in float x, in float y, float z, float w)
-{
-  vec4 v;
-  v.x = x;
-  v.y = y;
-  v.z = z;
-  v.w = w;
-  return v;
-}
-
-void main()
-{
-  gl_Position = foo(1.0, 1.0, 1.0, 0.0);
-}
diff --git a/src/glsl/tests/function-04.glsl b/src/glsl/tests/function-04.glsl
deleted file mode 100644 (file)
index dfc0d2b..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-/* FAIL - type mismatch in assignment */
-
-vec3 foo(float x, float y, float z)
-{
-  vec3 v;
-  v.x = x;
-  v.y = y;
-  v.z = z;
-  return v;
-}
-
-void main()
-{
-  gl_Position = foo(1.0, 1.0, 1.0);
-}
diff --git a/src/glsl/tests/function-05.glsl b/src/glsl/tests/function-05.glsl
deleted file mode 100644 (file)
index 43365bf..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/* PASS */
-
-vec4 foo(in float x, in float y, float z, float w)
-{
-  vec4 v;
-  v.x = x;
-  v.y = y;
-  v.z = z;
-  v.w = w;
-  return v;
-}
-
-vec4 foo(in float x)
-{
-   vec4 v;
-   v.x = x;
-   v.y = x;
-   v.z = x;
-   v.w = x;
-}
-
-void main()
-{
-  gl_Position = foo(1.0, 1.0, 1.0, 0.0);
-  gl_Position = foo(2.0);
-}
diff --git a/src/glsl/tests/if-01.glsl b/src/glsl/tests/if-01.glsl
deleted file mode 100644 (file)
index ca9abd5..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* FAIL - if-statement condition is not bool scalar */
-
-uniform bvec4 a;
-
-void main()
-{
-  if (a)
-    gl_Position = vec4(1.0, 0.0, 0.0, 1.0);
-  else
-    gl_Position = vec4(0.0, 1.0, 0.0, 1.0);
-}
diff --git a/src/glsl/tests/if-02.glsl b/src/glsl/tests/if-02.glsl
deleted file mode 100644 (file)
index 7adccea..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* FAIL - if-statement condition is not bool scalar */
-
-uniform float a;
-
-void main()
-{
-  if (a)
-    gl_Position = vec4(1.0, 0.0, 0.0, 1.0);
-  else
-    gl_Position = vec4(0.0, 1.0, 0.0, 1.0);
-}
diff --git a/src/glsl/tests/if-03.glsl b/src/glsl/tests/if-03.glsl
deleted file mode 100644 (file)
index 179618c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* PASS */
-
-uniform bool a;
-
-void main()
-{
-  if (a)
-    gl_Position = vec4(1.0, 0.0, 0.0, 1.0);
-  else
-    gl_Position = vec4(0.0, 1.0, 0.0, 1.0);
-}
diff --git a/src/glsl/tests/if-04.glsl b/src/glsl/tests/if-04.glsl
deleted file mode 100644 (file)
index 7b711fb..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* PASS */
-
-uniform bvec4 a;
-
-void main()
-{
-  if (a.x)
-    gl_Position = vec4(1.0, 0.0, 0.0, 1.0);
-  else
-    gl_Position = vec4(0.0, 1.0, 0.0, 1.0);
-}
diff --git a/src/glsl/tests/matrix-01.glsl b/src/glsl/tests/matrix-01.glsl
deleted file mode 100644 (file)
index f46416c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* FAIL - non-square matrices are not available in GLSL 1.10 */
-
-void main()
-{
-    mat2x3 m;
-}
diff --git a/src/glsl/tests/matrix-02.glsl b/src/glsl/tests/matrix-02.glsl
deleted file mode 100644 (file)
index 0630722..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* FAIL - non-square matrices are not available in GLSL 1.10 */
-
-void main()
-{
-    mat2x4 m;
-}
diff --git a/src/glsl/tests/matrix-03.glsl b/src/glsl/tests/matrix-03.glsl
deleted file mode 100644 (file)
index 925dc80..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* FAIL - non-square matrices are not available in GLSL 1.10 */
-
-void main()
-{
-    mat3x2 m;
-}
diff --git a/src/glsl/tests/matrix-04.glsl b/src/glsl/tests/matrix-04.glsl
deleted file mode 100644 (file)
index 5275619..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* FAIL - non-square matrices are not available in GLSL 1.10 */
-
-void main()
-{
-    mat3x4 m;
-}
diff --git a/src/glsl/tests/matrix-05.glsl b/src/glsl/tests/matrix-05.glsl
deleted file mode 100644 (file)
index 74e1fd2..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* FAIL - non-square matrices are not available in GLSL 1.10 */
-
-void main()
-{
-    mat4x2 m;
-}
diff --git a/src/glsl/tests/matrix-06.glsl b/src/glsl/tests/matrix-06.glsl
deleted file mode 100644 (file)
index 0a512b8..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* FAIL - non-square matrices are not available in GLSL 1.10 */
-
-void main()
-{
-    mat4x3 m;
-}
diff --git a/src/glsl/tests/matrix-07.glsl b/src/glsl/tests/matrix-07.glsl
deleted file mode 100644 (file)
index 0b59aa6..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/* PASS */
-
-uniform mat2 a;
-uniform mat2 b;
-uniform mat2 c;
-uniform mat2 d;
-uniform mat3 e;
-uniform mat3 f;
-uniform mat3 g;
-uniform mat3 h;
-uniform mat4 i;
-uniform mat4 j;
-uniform mat4 k;
-uniform mat4 l;
-
-void main()
-{
-    mat2 x;
-    mat3 y;
-    mat4 z;
-
-    x = a * b + c / d;
-    y = e * f + g / h;
-    z = i * j + k / l;
-
-    gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/matrix-08.glsl b/src/glsl/tests/matrix-08.glsl
deleted file mode 100644 (file)
index 38138d2..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#version 120
-/* PASS */
-
-uniform mat2x3 a;
-uniform mat3x2 b;
-uniform mat3x3 c;
-uniform mat3x3 d;
-
-void main()
-{
-    mat3x3 x;
-
-    /* Multiplying a 2 column, 3 row matrix with a 3 column, 2 row matrix
-     * results in a 3 column, 3 row matrix.
-     */
-    x = (a * b) + c / d;
-
-    gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/matrix-09.glsl b/src/glsl/tests/matrix-09.glsl
deleted file mode 100644 (file)
index 18afbca..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* FAIL - matrix-to-matrix constructors are not available in GLSL 1.10 */
-
-uniform mat3 a;
-
-void main()
-{
-    mat2 m;
-
-    m = mat2(a);
-    gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/matrix-10.glsl b/src/glsl/tests/matrix-10.glsl
deleted file mode 100644 (file)
index 20b5518..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#version 120
-/* PASS */
-
-uniform mat3 a;
-
-void main()
-{
-    mat2 m;
-
-    m = mat2(a);
-    gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/parameters-01.glsl b/src/glsl/tests/parameters-01.glsl
deleted file mode 100644 (file)
index b485106..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* FAIL: redefinition of a() */
-
-void a()
-{
-       ;       
-}
-
-void a()
-{
-       ;       
-}
diff --git a/src/glsl/tests/parameters-02.glsl b/src/glsl/tests/parameters-02.glsl
deleted file mode 100644 (file)
index 7ff5f59..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* PASS */
-
-void a()
-{
-       ;       
-}
-
-void a(float x)
-{
-       ;       
-}
diff --git a/src/glsl/tests/parameters-03.glsl b/src/glsl/tests/parameters-03.glsl
deleted file mode 100644 (file)
index 7ec30f8..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-/* FAIL - x is redeclared in the function body at the same scope as the
- *        parameter
- */
-void a(float x, float y)
-{
-       float x;
-
-       x = y;
-}
diff --git a/src/glsl/tests/qualifier-01.glsl b/src/glsl/tests/qualifier-01.glsl
deleted file mode 100644 (file)
index 54ec357..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#version 130
-/* FAIL - inout only allowed in parameter list */
-inout vec4 foo;
diff --git a/src/glsl/tests/qualifier-02.glsl b/src/glsl/tests/qualifier-02.glsl
deleted file mode 100644 (file)
index b635d52..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* FAIL - in only allowed in parameter list in GLSL 1.10 */
-in foo;
diff --git a/src/glsl/tests/qualifier-03.glsl b/src/glsl/tests/qualifier-03.glsl
deleted file mode 100644 (file)
index 7e44803..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* FAIL - out only allowed in parameter list in GLSL 1.10 */
-out vec4 foo;
diff --git a/src/glsl/tests/qualifier-04.glsl b/src/glsl/tests/qualifier-04.glsl
deleted file mode 100644 (file)
index d03cafc..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#version 130
-/* PASS */
-in vec4 foo;
diff --git a/src/glsl/tests/qualifier-05.glsl b/src/glsl/tests/qualifier-05.glsl
deleted file mode 100644 (file)
index 15281f3..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#version 130
-/* PASS */
-out vec4 foo;
diff --git a/src/glsl/tests/qualifier-06.glsl b/src/glsl/tests/qualifier-06.glsl
deleted file mode 100644 (file)
index 1907a08..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - in only allowed in parameter list in GLSL 1.10 */
-void main()
-{
-  in vec4 foo;
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/qualifier-07.glsl b/src/glsl/tests/qualifier-07.glsl
deleted file mode 100644 (file)
index 12568a5..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/* FAIL - out only allowed in parameter list in GLSL 1.10 */
-void main()
-{
-  out vec4 foo;
-
-  gl_Position = gl_Vertex;
-}
diff --git a/src/glsl/tests/swiz-01.glsl b/src/glsl/tests/swiz-01.glsl
deleted file mode 100644 (file)
index 3268fa1..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* PASS */
-#version 120
-
-void main()
-{
-       float a;
-       vec4 b;
-
-       b.x = 6.0;
-       a = b.x;
-}
diff --git a/src/glsl/tests/swiz-02.glsl b/src/glsl/tests/swiz-02.glsl
deleted file mode 100644 (file)
index e3f043c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* FAIL: assignment of a vec2 to a float */
-#version 120
-
-void main()
-{
-       float a;
-       vec4 b;
-
-       b.x = 6.0;
-       a = b.xy;
-}
diff --git a/src/glsl/tests/void-01.glsl b/src/glsl/tests/void-01.glsl
deleted file mode 100644 (file)
index 5719edc..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* FAIL - cannot declare a variable as having type `void' */
-void foo;