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

Stuart Abercrombie sabercrombie at chromium.org
Mon Mar 11 21:28:45 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.

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..150133d 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..f95963a 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..63cfe78 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..835b247 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..e83b504 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..bf94cce 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..8dfdebf 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..f4acee8 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..9774603 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..d300c7f 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..735afd4 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..be87ed7 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..e24778d 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..4d7c45f 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..6de4482 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..9ab20ec 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..58c3e3c 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..9049666 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..e124b18 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..463428e 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..c47e8a4 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..782df13 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..8feddc1 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..9b1e79f 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..4ebbda6 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..7385e5a 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..e522eb7 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..5332fd2 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..cc995ba 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..248168f 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..144ff16 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..f193315 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..b3e3121 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..e6de905 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..1058d9a 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..28c9915 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..baadb0f 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..35fa4c5 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..46830e6 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..4df3539 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..9b941d6 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..eb9bd13 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..6e853b5 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..939f7a3 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..0514d75 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..076d342 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..cb6c318 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..20f9304 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..173a51b 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..ff33449 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..49fc866 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..fa87d0f 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..022887e 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..18945a3 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..3d5ad78 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..2a7257c 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..60e700a 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..dc4a562 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..5414177 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..7270770 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..f7fedb5 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..74c1c09 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..efb76f1 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..1e47b41 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..9023435 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..5f2f391 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..10de0af 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..a1bffbf 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..0483fa3 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..6d8d2a5 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..ded22ac 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..ec80b26 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..682369a 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..41fa68e 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..30df157 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..b3d3dda 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..79908dd 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..5ecff43 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..edb820f 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..dbecb5d 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..15896a6 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..7966209 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..7c50303 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..3ef0083 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..eaff228 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..58f1187 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..54716cc 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..6331521 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..57c2241 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..185962f 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..6d5f8ea 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..6f208b7 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..565114b 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..3831874 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..747a8ba 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..ef74dc8 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..4ea9f6b 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..11e8ed1 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