[Piglit] [PATCH] shader_runner: remove explicit #version from outerProduct generated tests.

Stuart Abercrombie sabercrombie at chromium.org
Tue Mar 12 13:47:02 PDT 2013


It will be added based on the GLSL requirement instead.

Also make it clearer that these shader_test files are automatically generated.

Same number of passes on Sandy Bridge running all.tests without glean.

v2: Add missing comment #

Signed-off-by: Stuart Abercrombie <sabercrombie at chromium.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Tom Gall <tom.gall at linaro.org>
---
 .../fs-outerProduct-const-mat2-ivec.shader_test    |    5 +++--
 .../fs-outerProduct-const-mat2.shader_test         |    5 +++--
 .../fs-outerProduct-const-mat2x2-ivec.shader_test  |    5 +++--
 .../fs-outerProduct-const-mat2x2.shader_test       |    5 +++--
 .../fs-outerProduct-const-mat2x3-ivec.shader_test  |    5 +++--
 .../fs-outerProduct-const-mat2x3.shader_test       |    5 +++--
 .../fs-outerProduct-const-mat2x4-ivec.shader_test  |    5 +++--
 .../fs-outerProduct-const-mat2x4.shader_test       |    5 +++--
 .../fs-outerProduct-const-mat3-ivec.shader_test    |    5 +++--
 .../fs-outerProduct-const-mat3.shader_test         |    5 +++--
 .../fs-outerProduct-const-mat3x2-ivec.shader_test  |    5 +++--
 .../fs-outerProduct-const-mat3x2.shader_test       |    5 +++--
 .../fs-outerProduct-const-mat3x3-ivec.shader_test  |    5 +++--
 .../fs-outerProduct-const-mat3x3.shader_test       |    5 +++--
 .../fs-outerProduct-const-mat3x4-ivec.shader_test  |    5 +++--
 .../fs-outerProduct-const-mat3x4.shader_test       |    5 +++--
 .../fs-outerProduct-const-mat4-ivec.shader_test    |    5 +++--
 .../fs-outerProduct-const-mat4.shader_test         |    5 +++--
 .../fs-outerProduct-const-mat4x2-ivec.shader_test  |    5 +++--
 .../fs-outerProduct-const-mat4x2.shader_test       |    5 +++--
 .../fs-outerProduct-const-mat4x3-ivec.shader_test  |    5 +++--
 .../fs-outerProduct-const-mat4x3.shader_test       |    5 +++--
 .../fs-outerProduct-const-mat4x4-ivec.shader_test  |    5 +++--
 .../fs-outerProduct-const-mat4x4.shader_test       |    5 +++--
 .../fs-outerProduct-mat2-ivec.shader_test          |    5 +++--
 .../execution/fs-outerProduct-mat2.shader_test     |    5 +++--
 .../fs-outerProduct-mat2x2-ivec.shader_test        |    5 +++--
 .../execution/fs-outerProduct-mat2x2.shader_test   |    5 +++--
 .../fs-outerProduct-mat2x3-ivec.shader_test        |    5 +++--
 .../execution/fs-outerProduct-mat2x3.shader_test   |    5 +++--
 .../fs-outerProduct-mat2x4-ivec.shader_test        |    5 +++--
 .../execution/fs-outerProduct-mat2x4.shader_test   |    5 +++--
 .../fs-outerProduct-mat3-ivec.shader_test          |    5 +++--
 .../execution/fs-outerProduct-mat3.shader_test     |    5 +++--
 .../fs-outerProduct-mat3x2-ivec.shader_test        |    5 +++--
 .../execution/fs-outerProduct-mat3x2.shader_test   |    5 +++--
 .../fs-outerProduct-mat3x3-ivec.shader_test        |    5 +++--
 .../execution/fs-outerProduct-mat3x3.shader_test   |    5 +++--
 .../fs-outerProduct-mat3x4-ivec.shader_test        |    5 +++--
 .../execution/fs-outerProduct-mat3x4.shader_test   |    5 +++--
 .../fs-outerProduct-mat4-ivec.shader_test          |    5 +++--
 .../execution/fs-outerProduct-mat4.shader_test     |    5 +++--
 .../fs-outerProduct-mat4x2-ivec.shader_test        |    5 +++--
 .../execution/fs-outerProduct-mat4x2.shader_test   |    5 +++--
 .../fs-outerProduct-mat4x3-ivec.shader_test        |    5 +++--
 .../execution/fs-outerProduct-mat4x3.shader_test   |    5 +++--
 .../fs-outerProduct-mat4x4-ivec.shader_test        |    5 +++--
 .../execution/fs-outerProduct-mat4x4.shader_test   |    5 +++--
 .../spec/glsl-1.20/execution/outerProduct-const.sh |   10 ++++++----
 tests/spec/glsl-1.20/execution/outerProduct.sh     |   10 ++++++----
 .../vs-outerProduct-const-mat2-ivec.shader_test    |    5 +++--
 .../vs-outerProduct-const-mat2.shader_test         |    5 +++--
 .../vs-outerProduct-const-mat2x2-ivec.shader_test  |    5 +++--
 .../vs-outerProduct-const-mat2x2.shader_test       |    5 +++--
 .../vs-outerProduct-const-mat2x3-ivec.shader_test  |    5 +++--
 .../vs-outerProduct-const-mat2x3.shader_test       |    5 +++--
 .../vs-outerProduct-const-mat2x4-ivec.shader_test  |    5 +++--
 .../vs-outerProduct-const-mat2x4.shader_test       |    5 +++--
 .../vs-outerProduct-const-mat3-ivec.shader_test    |    5 +++--
 .../vs-outerProduct-const-mat3.shader_test         |    5 +++--
 .../vs-outerProduct-const-mat3x2-ivec.shader_test  |    5 +++--
 .../vs-outerProduct-const-mat3x2.shader_test       |    5 +++--
 .../vs-outerProduct-const-mat3x3-ivec.shader_test  |    5 +++--
 .../vs-outerProduct-const-mat3x3.shader_test       |    5 +++--
 .../vs-outerProduct-const-mat3x4-ivec.shader_test  |    5 +++--
 .../vs-outerProduct-const-mat3x4.shader_test       |    5 +++--
 .../vs-outerProduct-const-mat4-ivec.shader_test    |    5 +++--
 .../vs-outerProduct-const-mat4.shader_test         |    5 +++--
 .../vs-outerProduct-const-mat4x2-ivec.shader_test  |    5 +++--
 .../vs-outerProduct-const-mat4x2.shader_test       |    5 +++--
 .../vs-outerProduct-const-mat4x3-ivec.shader_test  |    5 +++--
 .../vs-outerProduct-const-mat4x3.shader_test       |    5 +++--
 .../vs-outerProduct-const-mat4x4-ivec.shader_test  |    5 +++--
 .../vs-outerProduct-const-mat4x4.shader_test       |    5 +++--
 .../vs-outerProduct-mat2-ivec.shader_test          |    5 +++--
 .../execution/vs-outerProduct-mat2.shader_test     |    5 +++--
 .../vs-outerProduct-mat2x2-ivec.shader_test        |    5 +++--
 .../execution/vs-outerProduct-mat2x2.shader_test   |    5 +++--
 .../vs-outerProduct-mat2x3-ivec.shader_test        |    5 +++--
 .../execution/vs-outerProduct-mat2x3.shader_test   |    5 +++--
 .../vs-outerProduct-mat2x4-ivec.shader_test        |    5 +++--
 .../execution/vs-outerProduct-mat2x4.shader_test   |    5 +++--
 .../vs-outerProduct-mat3-ivec.shader_test          |    5 +++--
 .../execution/vs-outerProduct-mat3.shader_test     |    5 +++--
 .../vs-outerProduct-mat3x2-ivec.shader_test        |    5 +++--
 .../execution/vs-outerProduct-mat3x2.shader_test   |    5 +++--
 .../vs-outerProduct-mat3x3-ivec.shader_test        |    5 +++--
 .../execution/vs-outerProduct-mat3x3.shader_test   |    5 +++--
 .../vs-outerProduct-mat3x4-ivec.shader_test        |    5 +++--
 .../execution/vs-outerProduct-mat3x4.shader_test   |    5 +++--
 .../vs-outerProduct-mat4-ivec.shader_test          |    5 +++--
 .../execution/vs-outerProduct-mat4.shader_test     |    5 +++--
 .../vs-outerProduct-mat4x2-ivec.shader_test        |    5 +++--
 .../execution/vs-outerProduct-mat4x2.shader_test   |    5 +++--
 .../vs-outerProduct-mat4x3-ivec.shader_test        |    5 +++--
 .../execution/vs-outerProduct-mat4x3.shader_test   |    5 +++--
 .../vs-outerProduct-mat4x4-ivec.shader_test        |    5 +++--
 .../execution/vs-outerProduct-mat4x4.shader_test   |    5 +++--
 98 files changed, 300 insertions(+), 200 deletions(-)

diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2-ivec.shader_test
index 5a53075..71fe7ac 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec2 c = ivec2(2, 3);
 const ivec2 r = ivec2(4, 5);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2.shader_test
index 28dcb6b..1035b57 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec2 c = vec2(2, 3);
 const vec2 r = vec2(4, 5);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x2-ivec.shader_test
index 0a61556..6454936 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x2-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec2 c = ivec2(2, 3);
 const ivec2 r = ivec2(4, 5);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x2.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x2.shader_test
index db7ef2e..0bbdcbc 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x2.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec2 c = vec2(2, 3);
 const vec2 r = vec2(4, 5);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x3-ivec.shader_test
index c5c11a1..52538c7 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x3-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec3 c = ivec3(2, 3, 4);
 const ivec2 r = ivec2(5, 6);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x3.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x3.shader_test
index 284bba9..bc641da 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x3.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec3 c = vec3(2, 3, 4);
 const vec2 r = vec2(5, 6);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x4-ivec.shader_test
index 44ddf78..010f18e 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x4-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec4 c = ivec4(2, 3, 4, 5);
 const ivec2 r = ivec2(6, 7);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x4.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x4.shader_test
index 059405c..6530e3a 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat2x4.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec4 c = vec4(2, 3, 4, 5);
 const vec2 r = vec2(6, 7);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3-ivec.shader_test
index 0719bf8..d7b9013 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec3 c = ivec3(2, 3, 4);
 const ivec3 r = ivec3(5, 6, 7);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3.shader_test
index ec08eb6..f86b943 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec3 c = vec3(2, 3, 4);
 const vec3 r = vec3(5, 6, 7);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x2-ivec.shader_test
index 095a4c2..58b4db7 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x2-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec2 c = ivec2(2, 3);
 const ivec3 r = ivec3(4, 5, 6);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x2.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x2.shader_test
index c1fb1c1..2595476 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x2.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec2 c = vec2(2, 3);
 const vec3 r = vec3(4, 5, 6);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x3-ivec.shader_test
index e45e8d2..3810a43 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x3-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec3 c = ivec3(2, 3, 4);
 const ivec3 r = ivec3(5, 6, 7);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x3.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x3.shader_test
index 14c3854..443f4ad 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x3.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec3 c = vec3(2, 3, 4);
 const vec3 r = vec3(5, 6, 7);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x4-ivec.shader_test
index 8114d71..efd09bf 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x4-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec4 c = ivec4(2, 3, 4, 5);
 const ivec3 r = ivec3(6, 7, 8);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x4.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x4.shader_test
index d4554b9..fefa300 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat3x4.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec4 c = vec4(2, 3, 4, 5);
 const vec3 r = vec3(6, 7, 8);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4-ivec.shader_test
index 4283bf1..e7a7f97 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec4 c = ivec4(2, 3, 4, 5);
 const ivec4 r = ivec4(6, 7, 8, 9);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4.shader_test
index 3dfa70b..bdebdec 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec4 c = vec4(2, 3, 4, 5);
 const vec4 r = vec4(6, 7, 8, 9);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x2-ivec.shader_test
index 900732d..6cabd30 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x2-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec2 c = ivec2(2, 3);
 const ivec4 r = ivec4(4, 5, 6, 7);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x2.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x2.shader_test
index 430a566..dd61728 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x2.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec2 c = vec2(2, 3);
 const vec4 r = vec4(4, 5, 6, 7);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x3-ivec.shader_test
index 2e73323..cf53376 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x3-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec3 c = ivec3(2, 3, 4);
 const ivec4 r = ivec4(5, 6, 7, 8);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x3.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x3.shader_test
index 7f5239b..94ca658 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x3.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec3 c = vec3(2, 3, 4);
 const vec4 r = vec4(5, 6, 7, 8);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x4-ivec.shader_test
index d801797..1ff8413 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x4-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec4 c = ivec4(2, 3, 4, 5);
 const ivec4 r = ivec4(6, 7, 8, 9);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x4.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x4.shader_test
index 38a50c1..31bc4b6 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-const-mat4x4.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 
 const vec4 c = vec4(2, 3, 4, 5);
 const vec4 r = vec4(6, 7, 8, 9);
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2-ivec.shader_test
index 1dd54ba..40c7318 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec2 c;
 uniform ivec2 r;
 uniform mat2 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2.shader_test
index a45bf12..080f315 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec2 c;
 uniform vec2 r;
 uniform mat2 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x2-ivec.shader_test
index 56117ca..4cd2aa6 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x2-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec2 c;
 uniform ivec2 r;
 uniform mat2x2 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x2.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x2.shader_test
index e5bae74..635e687 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x2.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec2 c;
 uniform vec2 r;
 uniform mat2x2 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x3-ivec.shader_test
index 1500d8d..56b725f 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x3-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec3 c;
 uniform ivec2 r;
 uniform mat2x3 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x3.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x3.shader_test
index 01e767c..78c7ff8 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x3.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec3 c;
 uniform vec2 r;
 uniform mat2x3 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x4-ivec.shader_test
index 7288b19..20fdd4a 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x4-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec4 c;
 uniform ivec2 r;
 uniform mat2x4 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x4.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x4.shader_test
index ad9c72c..628718c 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat2x4.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec4 c;
 uniform vec2 r;
 uniform mat2x4 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3-ivec.shader_test
index 958dc6e..b76bbdb 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec3 c;
 uniform ivec3 r;
 uniform mat3 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3.shader_test
index 8a21376..0ac6852 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec3 c;
 uniform vec3 r;
 uniform mat3 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x2-ivec.shader_test
index d8d09c2..026f2af 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x2-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec2 c;
 uniform ivec3 r;
 uniform mat3x2 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x2.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x2.shader_test
index 0c0a069..455f7c6 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x2.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec2 c;
 uniform vec3 r;
 uniform mat3x2 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x3-ivec.shader_test
index 53beb26..12c2a31 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x3-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec3 c;
 uniform ivec3 r;
 uniform mat3x3 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x3.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x3.shader_test
index 5c8a253..c34e9e9 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x3.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec3 c;
 uniform vec3 r;
 uniform mat3x3 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x4-ivec.shader_test
index 5c071c0..761c4f8 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x4-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec4 c;
 uniform ivec3 r;
 uniform mat3x4 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x4.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x4.shader_test
index c86af50..a5c60e5 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat3x4.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec4 c;
 uniform vec3 r;
 uniform mat3x4 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4-ivec.shader_test
index 641df67..7db561b 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec4 c;
 uniform ivec4 r;
 uniform mat4 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4.shader_test
index fdb756f..ceacb15 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec4 c;
 uniform vec4 r;
 uniform mat4 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x2-ivec.shader_test
index c5ab4a2..9a9008f 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x2-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec2 c;
 uniform ivec4 r;
 uniform mat4x2 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x2.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x2.shader_test
index 3873816..61a73d4 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x2.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec2 c;
 uniform vec4 r;
 uniform mat4x2 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x3-ivec.shader_test
index bcdb7df..26c3925 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x3-ivec.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -28,7 +30,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec3 c;
 uniform ivec4 r;
 uniform mat4x3 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x3.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x3.shader_test
index af81cc3..056e80f 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x3.shader_test
@@ -1,14 +1,15 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec3 c;
 uniform vec4 r;
 uniform mat4x3 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x4-ivec.shader_test
index 48a8d55..70e5454 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x4-ivec.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -26,7 +28,6 @@ void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec4 c;
 uniform ivec4 r;
 uniform mat4x4 expected;
diff --git a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x4.shader_test b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x4.shader_test
index f6c3eba..ce937e4 100644
--- a/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/fs-outerProduct-mat4x4.shader_test
@@ -1,12 +1,13 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform vec4 c;
 uniform vec4 r;
 uniform mat4x4 expected;
diff --git a/tests/spec/glsl-1.20/execution/outerProduct-const.sh b/tests/spec/glsl-1.20/execution/outerProduct-const.sh
index 5e04c7f..2837db1 100755
--- a/tests/spec/glsl-1.20/execution/outerProduct-const.sh
+++ b/tests/spec/glsl-1.20/execution/outerProduct-const.sh
@@ -96,6 +96,9 @@ GL >= 2.1
     fi
 
     cat > $name <<EOF
+# Test generated by:
+# $0
+
 [require]
 GLSL >= 1.20
 $GL_require
@@ -106,7 +109,6 @@ EOF
 	emit_conversion_info >> $name
     fi
 
-    echo "#version 120" >> $name
     emit_outerProduct_const_data $c $r $vtype $mat 1 >> $name
 
     cat >> $name <<EOF
@@ -119,7 +121,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
@@ -155,11 +156,13 @@ GL >= 2.1
     fi
 
     cat > $name <<EOF
+# Test generated by:
+# $0
+
 [require]
 GLSL >= 1.20
 $GL_require
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -169,7 +172,6 @@ EOF
 	emit_conversion_info >> $name
     fi
 
-    echo "#version 120" >> $name
     emit_outerProduct_const_data $c $r $vtype $mat 1 >> $name
 
     cat >> $name <<EOF
diff --git a/tests/spec/glsl-1.20/execution/outerProduct.sh b/tests/spec/glsl-1.20/execution/outerProduct.sh
index ecea80d..ec3f088 100755
--- a/tests/spec/glsl-1.20/execution/outerProduct.sh
+++ b/tests/spec/glsl-1.20/execution/outerProduct.sh
@@ -86,6 +86,9 @@ GL >= 2.1
     fi
 
     cat > $name <<EOF
+# Test generated by:
+# $0
+
 [require]
 GLSL >= 1.20
 $GL_require
@@ -97,7 +100,6 @@ EOF
     fi
 
     cat >> $name <<EOF
-#version 120
 uniform ${vtype}${c} c;
 uniform ${vtype}${r} r;
 uniform ${mat} expected;
@@ -110,7 +112,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
@@ -148,11 +149,13 @@ GL >= 2.1
     fi
 
     cat > $name <<EOF
+# Test generated by:
+# $0
+
 [require]
 GLSL >= 1.20
 $GL_require
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
@@ -163,7 +166,6 @@ EOF
     fi
 
     cat >> $name <<EOF
-#version 120
 uniform ${vtype}${c} c;
 uniform ${vtype}${r} r;
 uniform ${mat} expected;
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2-ivec.shader_test
index bd38535..bca8054 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec2 c = ivec2(2, 3);
 const ivec2 r = ivec2(4, 5);
@@ -36,7 +38,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2.shader_test
index a43dc35..f6034d7 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 
 const vec2 c = vec2(2, 3);
 const vec2 r = vec2(4, 5);
@@ -16,7 +18,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x2-ivec.shader_test
index 41dc3b4..735434f 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x2-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec2 c = ivec2(2, 3);
 const ivec2 r = ivec2(4, 5);
@@ -36,7 +38,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x2.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x2.shader_test
index dbd004f..60c97a7 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x2.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 
 const vec2 c = vec2(2, 3);
 const vec2 r = vec2(4, 5);
@@ -16,7 +18,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x3-ivec.shader_test
index a8e3986..0e95c42 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x3-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x3fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec3 c = ivec3(2, 3, 4);
 const ivec2 r = ivec2(5, 6);
@@ -38,7 +40,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x3.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x3.shader_test
index a7dc81c..48376f7 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x3.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 
 const vec3 c = vec3(2, 3, 4);
 const vec2 r = vec2(5, 6);
@@ -18,7 +20,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x4-ivec.shader_test
index 76ae8e3..652a689 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x4-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x4fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec4 c = ivec4(2, 3, 4, 5);
 const ivec2 r = ivec2(6, 7);
@@ -38,7 +40,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x4.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x4.shader_test
index 3342738..5cb3407 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat2x4.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 
 const vec4 c = vec4(2, 3, 4, 5);
 const vec2 r = vec2(6, 7);
@@ -18,7 +20,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3-ivec.shader_test
index 538bfd0..c8c3a9b 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec3 c = ivec3(2, 3, 4);
 const ivec3 r = ivec3(5, 6, 7);
@@ -36,7 +38,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3.shader_test
index d528e6e..ec7c5f6 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 
 const vec3 c = vec3(2, 3, 4);
 const vec3 r = vec3(5, 6, 7);
@@ -16,7 +18,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x2-ivec.shader_test
index 48df94a..bb08d39 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x2-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x2fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec2 c = ivec2(2, 3);
 const ivec3 r = ivec3(4, 5, 6);
@@ -38,7 +40,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x2.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x2.shader_test
index 2672d78..ff5421e 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x2.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 
 const vec2 c = vec2(2, 3);
 const vec3 r = vec3(4, 5, 6);
@@ -18,7 +20,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x3-ivec.shader_test
index 954787a..95be285 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x3-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec3 c = ivec3(2, 3, 4);
 const ivec3 r = ivec3(5, 6, 7);
@@ -36,7 +38,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x3.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x3.shader_test
index 0cb7f93..57865e7 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x3.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 
 const vec3 c = vec3(2, 3, 4);
 const vec3 r = vec3(5, 6, 7);
@@ -16,7 +18,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x4-ivec.shader_test
index 5263368..7fab3b3 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x4-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x4fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec4 c = ivec4(2, 3, 4, 5);
 const ivec3 r = ivec3(6, 7, 8);
@@ -38,7 +40,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x4.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x4.shader_test
index eb5d986..ba7bfa2 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat3x4.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 
 const vec4 c = vec4(2, 3, 4, 5);
 const vec3 r = vec3(6, 7, 8);
@@ -18,7 +20,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4-ivec.shader_test
index 1c4139d..363ff75 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec4 c = ivec4(2, 3, 4, 5);
 const ivec4 r = ivec4(6, 7, 8, 9);
@@ -36,7 +38,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4.shader_test
index 65f160c..082ed86 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 
 const vec4 c = vec4(2, 3, 4, 5);
 const vec4 r = vec4(6, 7, 8, 9);
@@ -16,7 +18,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x2-ivec.shader_test
index e6fc67a..0c55707 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x2-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x2fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec2 c = ivec2(2, 3);
 const ivec4 r = ivec4(4, 5, 6, 7);
@@ -38,7 +40,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x2.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x2.shader_test
index 38e9e09..517ad4e 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x2.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 
 const vec2 c = vec2(2, 3);
 const vec4 r = vec4(4, 5, 6, 7);
@@ -18,7 +20,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x3-ivec.shader_test
index 902f41f..02bde54 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x3-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x3fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec3 c = ivec3(2, 3, 4);
 const ivec4 r = ivec4(5, 6, 7, 8);
@@ -38,7 +40,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x3.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x3.shader_test
index 2f1ae39..753d866 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x3.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 
 const vec3 c = vec3(2, 3, 4);
 const vec4 r = vec4(5, 6, 7, 8);
@@ -18,7 +20,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x4-ivec.shader_test
index 643d50a..d34c1eb 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x4-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 
 const ivec4 c = ivec4(2, 3, 4, 5);
 const ivec4 r = ivec4(6, 7, 8, 9);
@@ -36,7 +38,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x4.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x4.shader_test
index 0163baf..604f703 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-const-mat4x4.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct-const.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 
 const vec4 c = vec4(2, 3, 4, 5);
 const vec4 r = vec4(6, 7, 8, 9);
@@ -16,7 +18,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2-ivec.shader_test
index 68a3c48..6903b84 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec2 c;
 uniform ivec2 r;
 uniform mat2 expected;
@@ -35,7 +37,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2.shader_test
index f0ec489..2c76fb1 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform vec2 c;
 uniform vec2 r;
 uniform mat2 expected;
@@ -15,7 +17,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x2-ivec.shader_test
index 5ad85da..373d328 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x2-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec2 c;
 uniform ivec2 r;
 uniform mat2x2 expected;
@@ -35,7 +37,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x2.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x2.shader_test
index b02be01..532a45a 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x2.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform vec2 c;
 uniform vec2 r;
 uniform mat2x2 expected;
@@ -15,7 +17,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x3-ivec.shader_test
index adf7a0c..1dd8f38 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x3-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x3fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec3 c;
 uniform ivec2 r;
 uniform mat2x3 expected;
@@ -37,7 +39,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x3.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x3.shader_test
index a4abc1b..f2074ae 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x3.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 uniform vec3 c;
 uniform vec2 r;
 uniform mat2x3 expected;
@@ -17,7 +19,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x4-ivec.shader_test
index 5117d81..25aae8c 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x4-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x4fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec4 c;
 uniform ivec2 r;
 uniform mat2x4 expected;
@@ -37,7 +39,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x4.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x4.shader_test
index 1f56794..f151ff2 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat2x4.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix2x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 uniform vec4 c;
 uniform vec2 r;
 uniform mat2x4 expected;
@@ -17,7 +19,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3-ivec.shader_test
index d05463d..de7f9b4 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec3 c;
 uniform ivec3 r;
 uniform mat3 expected;
@@ -35,7 +37,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3.shader_test
index 55a215c..e5b3801 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform vec3 c;
 uniform vec3 r;
 uniform mat3 expected;
@@ -15,7 +17,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x2-ivec.shader_test
index d8f6160..772e5db 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x2-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x2fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec2 c;
 uniform ivec3 r;
 uniform mat3x2 expected;
@@ -37,7 +39,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x2.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x2.shader_test
index 19991a7..1a04fdb 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x2.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 uniform vec2 c;
 uniform vec3 r;
 uniform mat3x2 expected;
@@ -17,7 +19,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x3-ivec.shader_test
index 6eb9e2a..285fbce 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x3-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec3 c;
 uniform ivec3 r;
 uniform mat3x3 expected;
@@ -35,7 +37,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x3.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x3.shader_test
index 20eedd3..b9889b5 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x3.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform vec3 c;
 uniform vec3 r;
 uniform mat3x3 expected;
@@ -15,7 +17,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x4-ivec.shader_test
index c0ad824..42b301d 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x4-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x4fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec4 c;
 uniform ivec3 r;
 uniform mat3x4 expected;
@@ -37,7 +39,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x4.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x4.shader_test
index 5bfd3cf..59cecf9 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat3x4.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix3x4fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 uniform vec4 c;
 uniform vec3 r;
 uniform mat3x4 expected;
@@ -17,7 +19,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4-ivec.shader_test
index 2443727..822db85 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec4 c;
 uniform ivec4 r;
 uniform mat4 expected;
@@ -35,7 +37,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4.shader_test
index ff9d0d5..6856407 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform vec4 c;
 uniform vec4 r;
 uniform mat4 expected;
@@ -15,7 +17,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x2-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x2-ivec.shader_test
index 7b99bf9..20809d7 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x2-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x2-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x2fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec2 c;
 uniform ivec4 r;
 uniform mat4x2 expected;
@@ -37,7 +39,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x2.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x2.shader_test
index 6635a74..58b9ea7 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x2.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x2.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x2fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 uniform vec2 c;
 uniform vec4 r;
 uniform mat4x2 expected;
@@ -17,7 +19,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x3-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x3-ivec.shader_test
index e7265ca..83b1817 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x3-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x3-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x3fv only exists in OpenGL 2.1 or later.
@@ -24,7 +27,6 @@ GL >= 2.1
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec3 c;
 uniform ivec4 r;
 uniform mat4x3 expected;
@@ -37,7 +39,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x3.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x3.shader_test
index 1e06f57..4ea165f 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x3.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x3.shader_test
@@ -1,10 +1,12 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 # glUniformMatrix4x3fv only exists in OpenGL 2.1 or later.
 GL >= 2.1
 
 [vertex shader]
-#version 120
 uniform vec3 c;
 uniform vec4 r;
 uniform mat4x3 expected;
@@ -17,7 +19,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x4-ivec.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x4-ivec.shader_test
index 5e6b245..c2949b5 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x4-ivec.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x4-ivec.shader_test
@@ -1,3 +1,6 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
@@ -22,7 +25,6 @@ GLSL >= 1.20
  *              ivec3                         vec3
  *              ivec4                         vec4"
  */
-#version 120
 uniform ivec4 c;
 uniform ivec4 r;
 uniform mat4x4 expected;
@@ -35,7 +37,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
diff --git a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x4.shader_test b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x4.shader_test
index c5b21e8..6f47202 100644
--- a/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x4.shader_test
+++ b/tests/spec/glsl-1.20/execution/vs-outerProduct-mat4x4.shader_test
@@ -1,8 +1,10 @@
+# Test generated by:
+# ./outerProduct.sh
+
 [require]
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform vec4 c;
 uniform vec4 r;
 uniform mat4x4 expected;
@@ -15,7 +17,6 @@ void main() {
 }
 
 [fragment shader]
-#version 120
 varying vec4 color;
 void main() { gl_FragColor = color; }
 
-- 
1.7.9.5



More information about the Piglit mailing list