[Piglit] [PATCH 1/1] Clean up shader_runner test scripts.

Stuart Abercrombie sabercrombie at chromium.org
Sun Dec 2 18:30:39 PST 2012


This is in preparation for always inserting #version based on the GLSL >= [require] section.

Test generation shell scripts were invoking /bin/sh while using Bash features, meaning they didn't work on stock Ubuntu.

variable-index-write.sh was generating inconsistent GLSL >= / #version.

Some other .shader_test files had #version specifiers that didn't match the GLSL >= requirement, or no GLSL >= requirement.

loopfunc.shader_test was in Windows format.

With this change the remaining task is to remove #version from a lot more shader_test files.

Testing: ./piglit-run -t glsl ... produces the same number of passes on Sandy Bridge
---
 tests/asmparsertest/make_test_list.sh              |    2 +-
 tests/asmparsertest/vp-tex.sh                      |    2 +-
 tests/glslparsertest/external-glslparsertest.sh    |    2 +-
 tests/glslparsertest/glsl2/make_tex_lod_tests.sh   |    2 +-
 tests/glslparsertest/glsl2/make_tex_rect_tests.sh  |    2 +-
 tests/shaders/glsl-array-compare-02.shader_test    |    5 +-
 tests/shaders/glsl-array-compare.shader_test       |    5 +-
 tests/shaders/glsl-complex-subscript.shader_test   |    4 +-
 tests/shaders/glsl-fs-loop-break.shader_test       |    1 +
 tests/shaders/glsl-fs-loop-continue.shader_test    |    1 +
 tests/shaders/glsl-fs-neg-dot.shader_test          |    1 +
 tests/shaders/glsl-invariant-pragma.shader_test    |    4 +-
 ...l-uniform-non-uniform-array-compare.shader_test |    5 +-
 tests/shaders/glsl-vs-loop-break.shader_test       |    1 +
 tests/shaders/glsl-vs-loop-continue.shader_test    |    1 +
 tests/shaders/link-struct-usage.shader_test        |    1 +
 tests/shaders/loopfunc.shader_test                 |   62 ++++++++++----------
 .../execution/draw-non-instanced.shader_test       |    1 +
 .../compiler/make_tex_lod_tests.sh                 |    2 +-
 .../fs-bool-less-compare-false.shader_test         |    3 +
 .../fs-bool-less-compare-true.shader_test          |    3 +
 .../execution/fs-inline-notequal.shader_test       |    3 +
 .../execution/fs-saturate-exp2.shader_test         |    3 +
 .../execution/fs-saturate-pow.shader_test          |    3 +
 .../execution/fs-saturate-sqrt.shader_test         |    3 +
 ...-vector-indexing-kills-all-channels.shader_test |    3 +
 .../execution/vs-inline-notequal.shader_test       |    3 +
 .../execution/vs-saturate-exp2.shader_test         |    3 +
 .../execution/vs-saturate-pow.shader_test          |    3 +
 .../execution/vs-saturate-sqrt.shader_test         |    3 +
 ...-vector-indexing-kills-all-channels.shader_test |    3 +
 ...ltin-global-from-fn-unknown-to-main.shader_test |    3 +
 tests/spec/glsl-1.10/variable-index-read.sh        |    2 +-
 tests/spec/glsl-1.10/variable-index-write.sh       |    8 +--
 .../outerProduct-invalid-parameters.sh             |    2 +-
 .../spec/glsl-1.20/execution/outerProduct-const.sh |    2 +-
 tests/spec/glsl-1.20/execution/outerProduct.sh     |    2 +-
 .../fs-temp-array-mat2-col-row-wr.shader_test      |    4 +-
 .../fs-temp-array-mat2-col-wr.shader_test          |    4 +-
 ...fs-temp-array-mat2-index-col-row-wr.shader_test |    4 +-
 .../fs-temp-array-mat2-index-col-wr.shader_test    |    4 +-
 .../fs-temp-array-mat2-index-row-wr.shader_test    |    4 +-
 .../fs-temp-array-mat2-index-wr.shader_test        |    4 +-
 .../fs-temp-array-mat2-row-wr.shader_test          |    4 +-
 .../fs-temp-array-mat2-wr.shader_test              |    4 +-
 .../fs-temp-array-mat3-col-row-wr.shader_test      |    4 +-
 .../fs-temp-array-mat3-col-wr.shader_test          |    4 +-
 ...fs-temp-array-mat3-index-col-row-wr.shader_test |    4 +-
 .../fs-temp-array-mat3-index-col-wr.shader_test    |    4 +-
 .../fs-temp-array-mat3-index-row-wr.shader_test    |    4 +-
 .../fs-temp-array-mat3-index-wr.shader_test        |    4 +-
 .../fs-temp-array-mat3-row-wr.shader_test          |    4 +-
 .../fs-temp-array-mat3-wr.shader_test              |    4 +-
 .../fs-temp-array-mat4-col-row-wr.shader_test      |    4 +-
 .../fs-temp-array-mat4-col-wr.shader_test          |    4 +-
 ...fs-temp-array-mat4-index-col-row-wr.shader_test |    4 +-
 .../fs-temp-array-mat4-index-col-wr.shader_test    |    4 +-
 .../fs-temp-array-mat4-index-row-wr.shader_test    |    4 +-
 .../fs-temp-array-mat4-index-wr.shader_test        |    4 +-
 .../fs-temp-array-mat4-row-wr.shader_test          |    4 +-
 .../fs-temp-array-mat4-wr.shader_test              |    4 +-
 .../fs-temp-mat2-col-row-wr.shader_test            |    4 +-
 .../fs-temp-mat2-col-wr.shader_test                |    4 +-
 .../fs-temp-mat2-row-wr.shader_test                |    4 +-
 .../variable-indexing/fs-temp-mat2-wr.shader_test  |    4 +-
 .../fs-temp-mat3-col-row-wr.shader_test            |    4 +-
 .../fs-temp-mat3-col-wr.shader_test                |    4 +-
 .../fs-temp-mat3-row-wr.shader_test                |    4 +-
 .../variable-indexing/fs-temp-mat3-wr.shader_test  |    4 +-
 .../fs-temp-mat4-col-row-wr.shader_test            |    4 +-
 .../fs-temp-mat4-col-wr.shader_test                |    4 +-
 .../fs-temp-mat4-row-wr.shader_test                |    4 +-
 .../variable-indexing/fs-temp-mat4-wr.shader_test  |    4 +-
 .../vs-temp-array-mat2-col-row-wr.shader_test      |    2 -
 .../vs-temp-array-mat2-col-wr.shader_test          |    2 -
 ...vs-temp-array-mat2-index-col-row-wr.shader_test |    2 -
 .../vs-temp-array-mat2-index-col-wr.shader_test    |    2 -
 .../vs-temp-array-mat2-index-row-wr.shader_test    |    2 -
 .../vs-temp-array-mat2-index-wr.shader_test        |    2 -
 .../vs-temp-array-mat2-row-wr.shader_test          |    2 -
 .../vs-temp-array-mat2-wr.shader_test              |    2 -
 .../vs-temp-array-mat3-col-row-wr.shader_test      |    2 -
 .../vs-temp-array-mat3-col-wr.shader_test          |    2 -
 ...vs-temp-array-mat3-index-col-row-wr.shader_test |    2 -
 .../vs-temp-array-mat3-index-col-wr.shader_test    |    2 -
 .../vs-temp-array-mat3-index-row-wr.shader_test    |    2 -
 .../vs-temp-array-mat3-index-wr.shader_test        |    2 -
 .../vs-temp-array-mat3-row-wr.shader_test          |    2 -
 .../vs-temp-array-mat3-wr.shader_test              |    2 -
 .../vs-temp-array-mat4-col-row-wr.shader_test      |    2 -
 .../vs-temp-array-mat4-col-wr.shader_test          |    2 -
 ...vs-temp-array-mat4-index-col-row-wr.shader_test |    2 -
 .../vs-temp-array-mat4-index-col-wr.shader_test    |    2 -
 .../vs-temp-array-mat4-index-row-wr.shader_test    |    2 -
 .../vs-temp-array-mat4-index-wr.shader_test        |    2 -
 .../vs-temp-array-mat4-row-wr.shader_test          |    2 -
 .../vs-temp-array-mat4-wr.shader_test              |    2 -
 .../vs-temp-mat2-col-row-wr.shader_test            |    2 -
 .../vs-temp-mat2-col-wr.shader_test                |    2 -
 .../vs-temp-mat2-row-wr.shader_test                |    2 -
 .../variable-indexing/vs-temp-mat2-wr.shader_test  |    2 -
 .../vs-temp-mat3-col-row-wr.shader_test            |    2 -
 .../vs-temp-mat3-col-wr.shader_test                |    2 -
 .../vs-temp-mat3-row-wr.shader_test                |    2 -
 .../variable-indexing/vs-temp-mat3-wr.shader_test  |    2 -
 .../vs-temp-mat4-col-row-wr.shader_test            |    2 -
 .../vs-temp-mat4-col-wr.shader_test                |    2 -
 .../vs-temp-mat4-row-wr.shader_test                |    2 -
 .../variable-indexing/vs-temp-mat4-wr.shader_test  |    2 -
 .../vs-varying-array-mat2-col-row-wr.shader_test   |    2 -
 .../vs-varying-array-mat2-col-wr.shader_test       |    2 -
 ...varying-array-mat2-index-col-row-wr.shader_test |    2 -
 .../vs-varying-array-mat2-index-col-wr.shader_test |    2 -
 .../vs-varying-array-mat2-index-row-wr.shader_test |    2 -
 .../vs-varying-array-mat2-index-wr.shader_test     |    2 -
 .../vs-varying-array-mat2-row-wr.shader_test       |    2 -
 .../vs-varying-array-mat2-wr.shader_test           |    2 -
 .../vs-varying-array-mat3-col-row-wr.shader_test   |    2 -
 .../vs-varying-array-mat3-col-wr.shader_test       |    2 -
 ...varying-array-mat3-index-col-row-wr.shader_test |    2 -
 .../vs-varying-array-mat3-index-col-wr.shader_test |    2 -
 .../vs-varying-array-mat3-index-row-wr.shader_test |    2 -
 .../vs-varying-array-mat3-index-wr.shader_test     |    2 -
 .../vs-varying-array-mat3-row-wr.shader_test       |    2 -
 .../vs-varying-array-mat3-wr.shader_test           |    2 -
 .../vs-varying-array-mat4-col-row-wr.shader_test   |    2 -
 .../vs-varying-array-mat4-col-wr.shader_test       |    2 -
 ...varying-array-mat4-index-col-row-wr.shader_test |    2 -
 .../vs-varying-array-mat4-index-col-wr.shader_test |    2 -
 .../vs-varying-array-mat4-index-row-wr.shader_test |    2 -
 .../vs-varying-array-mat4-index-wr.shader_test     |    2 -
 .../vs-varying-array-mat4-row-wr.shader_test       |    2 -
 .../vs-varying-array-mat4-wr.shader_test           |    2 -
 .../vs-varying-mat2-col-row-wr.shader_test         |    2 -
 .../vs-varying-mat2-col-wr.shader_test             |    2 -
 .../vs-varying-mat2-row-wr.shader_test             |    2 -
 .../vs-varying-mat2-wr.shader_test                 |    2 -
 .../vs-varying-mat3-col-row-wr.shader_test         |    2 -
 .../vs-varying-mat3-col-wr.shader_test             |    2 -
 .../vs-varying-mat3-row-wr.shader_test             |    2 -
 .../vs-varying-mat3-wr.shader_test                 |    2 -
 .../vs-varying-mat4-col-row-wr.shader_test         |    2 -
 .../vs-varying-mat4-col-wr.shader_test             |    2 -
 .../vs-varying-mat4-row-wr.shader_test             |    2 -
 .../vs-varying-mat4-wr.shader_test                 |    2 -
 145 files changed, 130 insertions(+), 317 deletions(-)

diff --git a/tests/asmparsertest/make_test_list.sh b/tests/asmparsertest/make_test_list.sh
index dde4689..9c1b1cc 100755
--- a/tests/asmparsertest/make_test_list.sh
+++ b/tests/asmparsertest/make_test_list.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Copyright © 2009 Intel Corporation
 #
diff --git a/tests/asmparsertest/vp-tex.sh b/tests/asmparsertest/vp-tex.sh
index 09a0b1c..b7197a0 100755
--- a/tests/asmparsertest/vp-tex.sh
+++ b/tests/asmparsertest/vp-tex.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Copyright © 2009 Intel Corporation
 #
diff --git a/tests/glslparsertest/external-glslparsertest.sh b/tests/glslparsertest/external-glslparsertest.sh
index 8006688..82f909e 100755
--- a/tests/glslparsertest/external-glslparsertest.sh
+++ b/tests/glslparsertest/external-glslparsertest.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # This is the wrapper script for using the standalone GLSL2 compiler
 # for the glslparsertest.  Drop a link named "glslcompiler" in this
diff --git a/tests/glslparsertest/glsl2/make_tex_lod_tests.sh b/tests/glslparsertest/glsl2/make_tex_lod_tests.sh
index ad6acba..1324cb1 100755
--- a/tests/glslparsertest/glsl2/make_tex_lod_tests.sh
+++ b/tests/glslparsertest/glsl2/make_tex_lod_tests.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 function gen_frag_test
 {
diff --git a/tests/glslparsertest/glsl2/make_tex_rect_tests.sh b/tests/glslparsertest/glsl2/make_tex_rect_tests.sh
index c747d88..f9dccda 100755
--- a/tests/glslparsertest/glsl2/make_tex_rect_tests.sh
+++ b/tests/glslparsertest/glsl2/make_tex_rect_tests.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 function gen_frag_test
 {
diff --git a/tests/shaders/glsl-array-compare-02.shader_test b/tests/shaders/glsl-array-compare-02.shader_test
index a570042..d9cc4aa 100644
--- a/tests/shaders/glsl-array-compare-02.shader_test
+++ b/tests/shaders/glsl-array-compare-02.shader_test
@@ -1,8 +1,7 @@
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 /* Verify that two arrays can be directly compared correctly.
  */
 void main()
@@ -11,8 +10,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
-
 void main()
 {
 	float ff[2];
diff --git a/tests/shaders/glsl-array-compare.shader_test b/tests/shaders/glsl-array-compare.shader_test
index 17b1950..bd31f65 100644
--- a/tests/shaders/glsl-array-compare.shader_test
+++ b/tests/shaders/glsl-array-compare.shader_test
@@ -1,8 +1,7 @@
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 /* Verify that two arrays can be directly compared correctly.
  */
 void main()
@@ -11,8 +10,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
-
 void main()
 {
 	float ff[2] = float[2](3.3, 3.5);
diff --git a/tests/shaders/glsl-complex-subscript.shader_test b/tests/shaders/glsl-complex-subscript.shader_test
index 99e294d..1bd9079 100644
--- a/tests/shaders/glsl-complex-subscript.shader_test
+++ b/tests/shaders/glsl-complex-subscript.shader_test
@@ -1,10 +1,8 @@
 [require]
 GL >= 2.0
-GLSL >= 1.10
+GLSL >= 1.20
 
 [fragment shader]
-#version 120
-
 void main()
 {
 	mat2 a;
diff --git a/tests/shaders/glsl-fs-loop-break.shader_test b/tests/shaders/glsl-fs-loop-break.shader_test
index c30a5ec..c5766a2 100644
--- a/tests/shaders/glsl-fs-loop-break.shader_test
+++ b/tests/shaders/glsl-fs-loop-break.shader_test
@@ -1,4 +1,5 @@
 [require]
+GLSL >= 1.10
 
 [vertex shader]
 void main()
diff --git a/tests/shaders/glsl-fs-loop-continue.shader_test b/tests/shaders/glsl-fs-loop-continue.shader_test
index cd9056a..2b53c69 100644
--- a/tests/shaders/glsl-fs-loop-continue.shader_test
+++ b/tests/shaders/glsl-fs-loop-continue.shader_test
@@ -1,4 +1,5 @@
 [require]
+GLSL >= 1.10
 
 [vertex shader]
 void main()
diff --git a/tests/shaders/glsl-fs-neg-dot.shader_test b/tests/shaders/glsl-fs-neg-dot.shader_test
index 40dbb9d..ac02cf6 100644
--- a/tests/shaders/glsl-fs-neg-dot.shader_test
+++ b/tests/shaders/glsl-fs-neg-dot.shader_test
@@ -1,4 +1,5 @@
 [require]
+GLSL >= 1.10
 
 [vertex shader]
 void main()
diff --git a/tests/shaders/glsl-invariant-pragma.shader_test b/tests/shaders/glsl-invariant-pragma.shader_test
index 399adbd..e91545e 100644
--- a/tests/shaders/glsl-invariant-pragma.shader_test
+++ b/tests/shaders/glsl-invariant-pragma.shader_test
@@ -1,8 +1,7 @@
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 #pragma STDGL invariant(all)
 varying float var;
 void main()
@@ -12,7 +11,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 invariant varying float var;
 void main()
 {
diff --git a/tests/shaders/glsl-uniform-non-uniform-array-compare.shader_test b/tests/shaders/glsl-uniform-non-uniform-array-compare.shader_test
index d459953..a690817 100644
--- a/tests/shaders/glsl-uniform-non-uniform-array-compare.shader_test
+++ b/tests/shaders/glsl-uniform-non-uniform-array-compare.shader_test
@@ -1,8 +1,7 @@
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 /* Verify that the uniform array can compare with non-uniform array correctly.
  */
 void main()
@@ -11,8 +10,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
-
 uniform float ff[2] = float[2](3.3, 3.5);
 void main()
 {
diff --git a/tests/shaders/glsl-vs-loop-break.shader_test b/tests/shaders/glsl-vs-loop-break.shader_test
index 0fddc74..cb8dbee 100644
--- a/tests/shaders/glsl-vs-loop-break.shader_test
+++ b/tests/shaders/glsl-vs-loop-break.shader_test
@@ -1,4 +1,5 @@
 [require]
+GLSL >= 1.10
 
 [vertex shader]
 varying vec4 color;
diff --git a/tests/shaders/glsl-vs-loop-continue.shader_test b/tests/shaders/glsl-vs-loop-continue.shader_test
index cf88a48..b78db62 100644
--- a/tests/shaders/glsl-vs-loop-continue.shader_test
+++ b/tests/shaders/glsl-vs-loop-continue.shader_test
@@ -1,4 +1,5 @@
 [require]
+GLSL >= 1.10
 
 [vertex shader]
 varying vec4 color;
diff --git a/tests/shaders/link-struct-usage.shader_test b/tests/shaders/link-struct-usage.shader_test
index 8c9fdf2..7bea0b0 100644
--- a/tests/shaders/link-struct-usage.shader_test
+++ b/tests/shaders/link-struct-usage.shader_test
@@ -1,4 +1,5 @@
 [require]
+GLSL >= 1.10
 
 [vertex shader]
 varying vec4 color;
diff --git a/tests/shaders/loopfunc.shader_test b/tests/shaders/loopfunc.shader_test
index f1e1f08..f37f4ea 100644
--- a/tests/shaders/loopfunc.shader_test
+++ b/tests/shaders/loopfunc.shader_test
@@ -1,31 +1,31 @@
-[require]
-GL >= 2.0
-GLSL >= 1.10
-
-[vertex shader]
-bool myFunc(void)
-{
-	int i;
-	for(i = 0; i < 2; i++)
-	{
-		if(i < 1)
-			return true;
- 		else
-			return false;
-	}
-}
-
-void main(void)
-{
-	if (myFunc())
-		gl_FrontColor = vec4(0.0, 1.0, 0.0, 1.0); // green
-	else
-		gl_FrontColor = vec4(1.0, 0.0, 0.0, 1.0); // red
-
-	gl_Position = gl_Vertex;
-}
-
-[test]
-draw rect -1 -1 2 2
-probe all rgba 0.0 1.0 0.0 1.0
-
+[require]
+GL >= 2.0
+GLSL >= 1.10
+
+[vertex shader]
+bool myFunc(void)
+{
+	int i;
+	for(i = 0; i < 2; i++)
+	{
+		if(i < 1)
+			return true;
+ 		else
+			return false;
+	}
+}
+
+void main(void)
+{
+	if (myFunc())
+		gl_FrontColor = vec4(0.0, 1.0, 0.0, 1.0); // green
+	else
+		gl_FrontColor = vec4(1.0, 0.0, 0.0, 1.0); // red
+
+	gl_Position = gl_Vertex;
+}
+
+[test]
+draw rect -1 -1 2 2
+probe all rgba 0.0 1.0 0.0 1.0
+
diff --git a/tests/spec/arb_draw_instanced/execution/draw-non-instanced.shader_test b/tests/spec/arb_draw_instanced/execution/draw-non-instanced.shader_test
index 1d9d7cc..357fe28 100644
--- a/tests/spec/arb_draw_instanced/execution/draw-non-instanced.shader_test
+++ b/tests/spec/arb_draw_instanced/execution/draw-non-instanced.shader_test
@@ -1,5 +1,6 @@
 [require]
 GL_ARB_draw_instanced
+GLSL >= 1.10
 
 [vertex shader]
 /* Verify that InstanceID is zero when drawing primitives using a
diff --git a/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh b/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh
index 405e79b..87bd817 100755
--- a/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh
+++ b/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 function get_coord_type
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-bool-less-compare-false.shader_test b/tests/spec/glsl-1.10/execution/fs-bool-less-compare-false.shader_test
index 11c572c..e822f5e 100644
--- a/tests/spec/glsl-1.10/execution/fs-bool-less-compare-false.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-bool-less-compare-false.shader_test
@@ -1,6 +1,9 @@
 # This test exercises a bug introduced in i965: Comparison of comparison
 # results to boolean values gave incorrect results.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-bool-less-compare-true.shader_test b/tests/spec/glsl-1.10/execution/fs-bool-less-compare-true.shader_test
index bc9148c..91b10ec 100644
--- a/tests/spec/glsl-1.10/execution/fs-bool-less-compare-true.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-bool-less-compare-true.shader_test
@@ -1,6 +1,9 @@
 # This test exercises a bug introduced in i965: Comparison of comparison
 # results to boolean values gave incorrect results.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-inline-notequal.shader_test b/tests/spec/glsl-1.10/execution/fs-inline-notequal.shader_test
index 6def318..a38e989 100644
--- a/tests/spec/glsl-1.10/execution/fs-inline-notequal.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-inline-notequal.shader_test
@@ -2,6 +2,9 @@
 # an execution of notEqual() to be constant-folded, an assertion
 # failure would occur.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-saturate-exp2.shader_test b/tests/spec/glsl-1.10/execution/fs-saturate-exp2.shader_test
index fd5a26f..03c1f5e 100644
--- a/tests/spec/glsl-1.10/execution/fs-saturate-exp2.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-saturate-exp2.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-saturate-pow.shader_test b/tests/spec/glsl-1.10/execution/fs-saturate-pow.shader_test
index 78e2d5d..9e6778b 100644
--- a/tests/spec/glsl-1.10/execution/fs-saturate-pow.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-saturate-pow.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-saturate-sqrt.shader_test b/tests/spec/glsl-1.10/execution/fs-saturate-sqrt.shader_test
index 013e007..f901dbe 100644
--- a/tests/spec/glsl-1.10/execution/fs-saturate-sqrt.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-saturate-sqrt.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/fs-vector-indexing-kills-all-channels.shader_test b/tests/spec/glsl-1.10/execution/fs-vector-indexing-kills-all-channels.shader_test
index b22405a..74ed9a9 100644
--- a/tests/spec/glsl-1.10/execution/fs-vector-indexing-kills-all-channels.shader_test
+++ b/tests/spec/glsl-1.10/execution/fs-vector-indexing-kills-all-channels.shader_test
@@ -2,6 +2,9 @@
 # propagation fails to detect that array indexing into a vector might
 # kill any component of the vector.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void main()
 {
diff --git a/tests/spec/glsl-1.10/execution/vs-inline-notequal.shader_test b/tests/spec/glsl-1.10/execution/vs-inline-notequal.shader_test
index a2a0923..9fe2926 100644
--- a/tests/spec/glsl-1.10/execution/vs-inline-notequal.shader_test
+++ b/tests/spec/glsl-1.10/execution/vs-inline-notequal.shader_test
@@ -2,6 +2,9 @@
 # an execution of notEqual() to be constant-folded, an assertion
 # failure would occur.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 bvec4 foo(vec4 x, vec4 y)
 {
diff --git a/tests/spec/glsl-1.10/execution/vs-saturate-exp2.shader_test b/tests/spec/glsl-1.10/execution/vs-saturate-exp2.shader_test
index de25327..45e0bb7 100644
--- a/tests/spec/glsl-1.10/execution/vs-saturate-exp2.shader_test
+++ b/tests/spec/glsl-1.10/execution/vs-saturate-exp2.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 uniform vec4 v;
 varying vec4 color;
diff --git a/tests/spec/glsl-1.10/execution/vs-saturate-pow.shader_test b/tests/spec/glsl-1.10/execution/vs-saturate-pow.shader_test
index 72decdc..95dbd57 100644
--- a/tests/spec/glsl-1.10/execution/vs-saturate-pow.shader_test
+++ b/tests/spec/glsl-1.10/execution/vs-saturate-pow.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 uniform vec4 x;
 uniform vec4 y;
diff --git a/tests/spec/glsl-1.10/execution/vs-saturate-sqrt.shader_test b/tests/spec/glsl-1.10/execution/vs-saturate-sqrt.shader_test
index 13fd7ae..c10df0f 100644
--- a/tests/spec/glsl-1.10/execution/vs-saturate-sqrt.shader_test
+++ b/tests/spec/glsl-1.10/execution/vs-saturate-sqrt.shader_test
@@ -1,3 +1,6 @@
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 uniform vec4 v;
 varying vec4 color;
diff --git a/tests/spec/glsl-1.10/execution/vs-vector-indexing-kills-all-channels.shader_test b/tests/spec/glsl-1.10/execution/vs-vector-indexing-kills-all-channels.shader_test
index 6838f78..a2c4db8 100644
--- a/tests/spec/glsl-1.10/execution/vs-vector-indexing-kills-all-channels.shader_test
+++ b/tests/spec/glsl-1.10/execution/vs-vector-indexing-kills-all-channels.shader_test
@@ -2,6 +2,9 @@
 # propagation fails to detect that array indexing into a vector might
 # kill any component of the vector.
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 #define RED vec4(1.0, 0.0, 0.0, 0.0)
 #define GREEN vec4(0.0, 1.0, 0.0, 0.0)
diff --git a/tests/spec/glsl-1.10/linker/access-builtin-global-from-fn-unknown-to-main.shader_test b/tests/spec/glsl-1.10/linker/access-builtin-global-from-fn-unknown-to-main.shader_test
index 09687a2..2416f7a 100644
--- a/tests/spec/glsl-1.10/linker/access-builtin-global-from-fn-unknown-to-main.shader_test
+++ b/tests/spec/glsl-1.10/linker/access-builtin-global-from-fn-unknown-to-main.shader_test
@@ -2,6 +2,9 @@
 # function that is neither defined nor declared in the compilation
 # unit that defines main().
 
+[require]
+GLSL >= 1.10
+
 [vertex shader]
 void f();
 void main()
diff --git a/tests/spec/glsl-1.10/variable-index-read.sh b/tests/spec/glsl-1.10/variable-index-read.sh
index b9f342e..12b0685 100755
--- a/tests/spec/glsl-1.10/variable-index-read.sh
+++ b/tests/spec/glsl-1.10/variable-index-read.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Generate a set of data for a sized matrix.  Elements start with a specified
 # value and increment by 1.0 for each element.
diff --git a/tests/spec/glsl-1.10/variable-index-write.sh b/tests/spec/glsl-1.10/variable-index-write.sh
index c7b2970..96a4791 100755
--- a/tests/spec/glsl-1.10/variable-index-write.sh
+++ b/tests/spec/glsl-1.10/variable-index-write.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Emit global variable declarations for either the vertex shader or the
 # fragment shader.
@@ -177,7 +177,6 @@ function emit_fs
     fi
 
     echo "[fragment shader]"
-    echo "#version ${version/./}"
 
     emit_globals $*
 
@@ -326,11 +325,10 @@ function emit_fs_wr_test
     echo "# ${cmd}"
     echo
     echo "[require]"
-    echo "GLSL >= 1.10"
+    echo "GLSL >= ${version}"
     echo
 
     echo "[vertex shader]"
-    echo "#version ${version/./}"
     echo "void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }"
     echo
 
@@ -353,7 +351,6 @@ function emit_vs_wr_test
     echo
 
     echo "[vertex shader]"
-    echo "#version ${version/./}"
     emit_globals $*
 
     echo "void main()"
@@ -374,7 +371,6 @@ function emit_vs_wr_test
 
     if [ "x$mode" != "xvarying" ];then
 	echo "[fragment shader]"
-	echo "#version ${version/./}"
 	echo "void main() { gl_FragColor = gl_Color; }"
 	echo
     else
diff --git a/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh b/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh
index a7e1113..5f106eb 100755
--- a/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh
+++ b/tests/spec/glsl-1.20/compiler/built-in-functions/outerProduct-invalid-parameters.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 function emit_vs
 {
diff --git a/tests/spec/glsl-1.20/execution/outerProduct-const.sh b/tests/spec/glsl-1.20/execution/outerProduct-const.sh
index d9ac8d8..5e04c7f 100755
--- a/tests/spec/glsl-1.20/execution/outerProduct-const.sh
+++ b/tests/spec/glsl-1.20/execution/outerProduct-const.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 function emit_conversion_info
 {
diff --git a/tests/spec/glsl-1.20/execution/outerProduct.sh b/tests/spec/glsl-1.20/execution/outerProduct.sh
index d79607e..ecea80d 100755
--- a/tests/spec/glsl-1.20/execution/outerProduct.sh
+++ b/tests/spec/glsl-1.20/execution/outerProduct.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 function emit_conversion_info
 {
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-col-row-wr.shader_test
index 43edb93..90aba4e 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-col-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-col-wr.shader_test
index 4c8014f..bd605c7 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-col-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-col-row-wr.shader_test
index 30da6b3..1ceaab4 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-col-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-col-wr.shader_test
index edc20f5..0fdac68 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-col-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-row-wr.shader_test
index 62c891b..bfdc159 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-wr.shader_test
index fd1a60c..78732f0 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-index-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-row-wr.shader_test
index 42b0091..88d6549 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-wr.shader_test
index 63a2453..5f8f9aa 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat2-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-col-row-wr.shader_test
index 34e6481..92263d2 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-col-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-col-wr.shader_test
index c3e2650..0d13ffb 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-col-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-col-row-wr.shader_test
index 7242afb..e317d3d 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-col-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-col-wr.shader_test
index 5d87de7..bc522bd 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-col-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-row-wr.shader_test
index 01719e2..e36217b 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-wr.shader_test
index c8a11d5..11c3760 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-row-wr.shader_test
index 49ee3f6..e0ac971 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-wr.shader_test
index e5dbae7..997ec43 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-col-row-wr.shader_test
index 9c4c279..f5e2137 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-col-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-col-wr.shader_test
index eeb4d8c..2a7ae83 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-col-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-col-row-wr.shader_test
index c4e3007..2c6200a 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-col-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-col-wr.shader_test
index 79ac9f1..ddf2d24 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-col-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-row-wr.shader_test
index 4c307aa..fbb95a9 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-wr.shader_test
index 53e989e..db0f8e7 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-index-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-row-wr.shader_test
index 64aafa7..565322b 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-wr.shader_test
index 37fdb3c..7787aa0 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat4-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-col-row-wr.shader_test
index 3c325c9..4194db5 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-col-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-col-wr.shader_test
index 8f76813..30ff249 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-col-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-row-wr.shader_test
index 19e45cb..d03e65e 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-wr.shader_test
index c8c8cba..727ec22 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat2-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-col-row-wr.shader_test
index 1ce2053..a6d5982 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-col-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-col-wr.shader_test
index ac3aa67..172f902 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-col-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-row-wr.shader_test
index b0933cb..28d5c12 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-wr.shader_test
index e3feddb..9f13888 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat3-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-col-row-wr.shader_test
index 457b621..686e838 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-col-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-col-wr.shader_test
index b4dc82a..2214fa5 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-col-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-row-wr.shader_test
index 6e99652..3c68de1 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-row-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-wr.shader_test
index 7daa4be..11cb707 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-mat4-wr.shader_test
@@ -2,14 +2,12 @@
 # ../../../glsl-1.10/variable-index-write.sh 1.20
 
 [require]
-GLSL >= 1.10
+GLSL >= 1.20
 
 [vertex shader]
-#version 120
 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-col-row-wr.shader_test
index ca6e905..7f0d511 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-col-wr.shader_test
index d997b91..bf927e6 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-col-row-wr.shader_test
index b4e36d7..a4bb491 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-col-wr.shader_test
index 6798626..4f01386 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-row-wr.shader_test
index cded995..165ae87 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-wr.shader_test
index d26aae3..28de070 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-index-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-row-wr.shader_test
index 923e538..8df7c62 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-wr.shader_test
index 7688deb..4b3cfe1 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat2-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-col-row-wr.shader_test
index fe77f7e..2448814 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-col-wr.shader_test
index 1f74a46..cbca6b5 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-col-row-wr.shader_test
index 5bbc7bd..8af2d41 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-col-wr.shader_test
index 1215412..d3b6472 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-row-wr.shader_test
index b808fd0..4546f57 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-wr.shader_test
index d189635..4ac83f4 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-index-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-row-wr.shader_test
index 80cf5c7..e647ec9 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-wr.shader_test
index 3ac61ed..6741f33 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat3-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-col-row-wr.shader_test
index 04985b6..4908c5c 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-col-wr.shader_test
index 8b8c32c..b941328 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-col-row-wr.shader_test
index 0f8cc45..24ad315 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-col-wr.shader_test
index c4e3b3c..97973e6 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-row-wr.shader_test
index 8322c9a..cd4f883 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-wr.shader_test
index 1b9d5d2..de3ac15 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-index-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-row-wr.shader_test
index 5d461ff..5be11e0 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -36,7 +35,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-wr.shader_test
index 61c109d..dc0e361 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-array-mat4-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-col-row-wr.shader_test
index 8c13035..5fc7384 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -31,7 +30,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-col-wr.shader_test
index 7c8215b..1923674 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -30,7 +29,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-row-wr.shader_test
index ba47207..e79026d 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -31,7 +30,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-wr.shader_test
index 705e0c4..247e1b0 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat2-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -30,7 +29,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-col-row-wr.shader_test
index 6e35f4e..96e08f7 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -31,7 +30,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-col-wr.shader_test
index 7383b5a..3306d22 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -30,7 +29,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-row-wr.shader_test
index b857258..72dc617 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -31,7 +30,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-wr.shader_test
index d5249de..d0ea2c3 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat3-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -30,7 +29,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-col-row-wr.shader_test
index 18d5e3d..bc53b24 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -31,7 +30,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-col-wr.shader_test
index e97be85..cc8ec54 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -30,7 +29,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-row-wr.shader_test
index 16005f8..66b3224 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -31,7 +30,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-wr.shader_test
index 1a12b77..b2100d2 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-temp-mat4-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -30,7 +29,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 void main() { gl_FragColor = gl_Color; }
 
 [test]
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test
index 238301a..515b180 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test
index 9f8af3f..97c424e 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test
index f80a2f1..4306f1b 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test
index 760334c..0a707ee 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test
index b5672aa..7ff165e 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-wr.shader_test
index a11fdad..a67b6fc 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test
index 0960afb..96c0308 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-wr.shader_test
index 7f78d72..e1cbdfd 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test
index 368072e..3e2bff9 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test
index 662cc05..703c3ab 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test
index 93d6daa..8ebb993 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test
index 6d0f017..b250041 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test
index a2bfd3b..e344375 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-wr.shader_test
index 8053a3f..b9ac47e 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test
index e03fb02..4a6ea5c 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-wr.shader_test
index 2533b07..252b6aa 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test
index a66680f..a72587f 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test
index 97bc778..69dfe5a 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test
index 886b8d1..5061d2c 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test
index aed292a..26b5705 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test
index e55473f..be411cd 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-wr.shader_test
index 488ff4b..1c29042 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test
index 13d1b0b..576f095 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -35,7 +34,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-wr.shader_test
index 7481a6e..fefc16b 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -34,7 +33,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test
index f72dd3c..407af2a 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -29,7 +28,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-wr.shader_test
index 67715e0..2bf4b6d 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -28,7 +27,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-row-wr.shader_test
index e1b744c..374f1d8 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -29,7 +28,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-wr.shader_test
index 1cf54d6..49fb38e 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
@@ -28,7 +27,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat2x2 src_matrix;
 uniform vec2 v;
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test
index d990c37..dd11084 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -29,7 +28,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-wr.shader_test
index a1fff20..b83ce94 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -28,7 +27,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-row-wr.shader_test
index 780f0d2..3a9213f 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -29,7 +28,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-wr.shader_test
index c1e9954..eafe1dd 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
@@ -28,7 +27,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat3x3 src_matrix;
 uniform vec3 v;
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test
index ad72cc2..88427ad 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -29,7 +28,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-wr.shader_test
index 8be146b..e4c77cc 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -28,7 +27,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-row-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-row-wr.shader_test
index e78e419..d44ced8 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-row-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-row-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -29,7 +28,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-wr.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-wr.shader_test
index 5de207f..4da6d93 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-wr.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-wr.shader_test
@@ -5,7 +5,6 @@
 GLSL >= 1.20
 
 [vertex shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
@@ -28,7 +27,6 @@ void main()
 }
 
 [fragment shader]
-#version 120
 uniform mat4x4 src_matrix;
 uniform vec4 v;
 uniform vec4 expect;
-- 
1.7.5.4



More information about the Piglit mailing list