[Piglit] [PATCH 5/5] variable-indexing: Re-run code generation and commit.

Eric Anholt eric at anholt.net
Mon Jan 5 12:22:47 PST 2015


---
 .../execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test       | 1 +
 .../variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test     | 1 +
 .../variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat2-index-rd.shader_test         | 1 +
 .../variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat2-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test       | 1 +
 .../variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test     | 1 +
 .../variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat3-index-rd.shader_test         | 1 +
 .../variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat3-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test       | 1 +
 .../variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test     | 1 +
 .../variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat4-index-rd.shader_test         | 1 +
 .../variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat4-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-mat2-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test   | 1 +
 .../glsl-1.10/execution/variable-indexing/fs-varying-mat2-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-mat2-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/fs-varying-mat3-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test   | 1 +
 .../glsl-1.10/execution/variable-indexing/fs-varying-mat3-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-mat3-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/fs-varying-mat4-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test   | 1 +
 .../glsl-1.10/execution/variable-indexing/fs-varying-mat4-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-mat4-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test       | 1 +
 .../variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-rd.shader_test         | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-wr.shader_test         | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-rd.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-wr.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test       | 1 +
 .../variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-rd.shader_test         | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-wr.shader_test         | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-rd.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-wr.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test       | 1 +
 .../variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-rd.shader_test         | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-wr.shader_test         | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-rd.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-wr.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-mat2-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat2-col-wr.shader_test       | 1 +
 .../glsl-1.10/execution/variable-indexing/vs-varying-mat2-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-mat2-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat2-row-wr.shader_test       | 1 +
 .../glsl-1.10/execution/variable-indexing/vs-varying-mat2-wr.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-mat3-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat3-col-wr.shader_test       | 1 +
 .../glsl-1.10/execution/variable-indexing/vs-varying-mat3-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-mat3-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat3-row-wr.shader_test       | 1 +
 .../glsl-1.10/execution/variable-indexing/vs-varying-mat3-wr.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-mat4-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat4-col-wr.shader_test       | 1 +
 .../glsl-1.10/execution/variable-indexing/vs-varying-mat4-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-mat4-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat4-row-wr.shader_test       | 1 +
 .../glsl-1.10/execution/variable-indexing/vs-varying-mat4-wr.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test       | 1 +
 .../variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test     | 1 +
 .../variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat2-index-rd.shader_test         | 1 +
 .../variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat2-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test       | 1 +
 .../variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test     | 1 +
 .../variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat3-index-rd.shader_test         | 1 +
 .../variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat3-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test       | 1 +
 .../variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test     | 1 +
 .../variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/fs-varying-array-mat4-index-rd.shader_test         | 1 +
 .../variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat4-rd.shader_test     | 1 +
 .../execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-mat2-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test   | 1 +
 .../glsl-1.20/execution/variable-indexing/fs-varying-mat2-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-mat2-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/fs-varying-mat3-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test   | 1 +
 .../glsl-1.20/execution/variable-indexing/fs-varying-mat3-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-mat3-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/fs-varying-mat4-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test   | 1 +
 .../glsl-1.20/execution/variable-indexing/fs-varying-mat4-rd.shader_test | 1 +
 .../execution/variable-indexing/fs-varying-mat4-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test       | 1 +
 .../variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-rd.shader_test         | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat2-index-wr.shader_test         | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-rd.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat2-wr.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test       | 1 +
 .../variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-rd.shader_test         | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat3-index-wr.shader_test         | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-rd.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat3-wr.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test       | 1 +
 .../variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-rd.shader_test         | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test     | 1 +
 .../variable-indexing/vs-varying-array-mat4-index-wr.shader_test         | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-rd.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-array-mat4-wr.shader_test     | 1 +
 .../execution/variable-indexing/vs-varying-mat2-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat2-col-wr.shader_test       | 1 +
 .../glsl-1.20/execution/variable-indexing/vs-varying-mat2-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-mat2-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat2-row-wr.shader_test       | 1 +
 .../glsl-1.20/execution/variable-indexing/vs-varying-mat2-wr.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-mat3-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat3-col-wr.shader_test       | 1 +
 .../glsl-1.20/execution/variable-indexing/vs-varying-mat3-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-mat3-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat3-row-wr.shader_test       | 1 +
 .../glsl-1.20/execution/variable-indexing/vs-varying-mat3-wr.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-mat4-col-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test   | 1 +
 .../execution/variable-indexing/vs-varying-mat4-col-wr.shader_test       | 1 +
 .../glsl-1.20/execution/variable-indexing/vs-varying-mat4-rd.shader_test | 1 +
 .../execution/variable-indexing/vs-varying-mat4-row-rd.shader_test       | 1 +
 .../execution/variable-indexing/vs-varying-mat4-row-wr.shader_test       | 1 +
 .../glsl-1.20/execution/variable-indexing/vs-varying-mat4-wr.shader_test | 1 +
 216 files changed, 216 insertions(+)

diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test
index 8198236..ab68732 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test
index 6b9c788..5d69521 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test
index af2551a..f5ce0af 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test
index 213cb98..3fee0f2 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-rd.shader_test
index 412417c..9f1b25c 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test
index 9c30202..d4b58c5 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-rd.shader_test
index d736018..841e362 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test
index 852e1b1..c446ca7 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test
index 929a47e..87f276d 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test
index 595069d..17a8043 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test
index ac3d15a..ec20f3e 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test
index 905eaf9..57cc5cf 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-rd.shader_test
index fabf1a5..74954b4 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test
index ee8b6d2..0eeaeb8 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-rd.shader_test
index c60d5d4..c7b40d7 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test
index dfda10e..d8ccb06 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test
index 65febba..809e95b 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test
index dae0367..93f0fe4 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test
index cbb486c..4b181cf 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test
index ab6060b..d73bc38 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-rd.shader_test
index 6080b81..3232fee 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test
index 1435029..58c204f 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-rd.shader_test
index 2adf4ab..096d9db 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test
index b8261c4..6a938b5 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-col-rd.shader_test
index 4e5db32..0852a1c 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test
index 86f05f1..62f5c57 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-rd.shader_test
index dc7f48d..f47061c 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-row-rd.shader_test
index 4b37fa0..be5d7a6 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-col-rd.shader_test
index 208ac1e..16e3a85 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test
index 7bc78f9..2d51503 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-rd.shader_test
index 4967d6c..b80233b 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-row-rd.shader_test
index 3f3733b..eaf240f 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-col-rd.shader_test
index 8883cae..2b49710 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test
index 9085f16..5270d07 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-rd.shader_test
index 6de6338..c23ba89 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-row-rd.shader_test
index 00c872a..d86c759 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test
index 188f437..396810b 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test
index f3ea08c..1319d99 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test
index 58ccac9..554e87a 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test
index d663cee..2371af2 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test
index 1943a82..435f911 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test
index 0c963c7..86a6d4d 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test
index 8ed3be9..b96ea17 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test
index 9cf66cd..f5e3ee2 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-rd.shader_test
index 6ae95e2..7acf786 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test
index 1eccd81..b3a3fbb 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test
index 7061c48..866f58a 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-wr.shader_test
index 045c7ca..6724f54 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-rd.shader_test
index 3444392..3fd5281 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test
index 59771c3..17243b0 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test
index 3dddd3e..f3d8d28 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-wr.shader_test
index 7c670fe..a684682 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test
index d8f16c0..4abf626 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test
index b46a6b7..a6852c3 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test
index a33ef9d..bc37743 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test
index 57eaf88..0e48d4c 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test
index 348185d..8899fac 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test
index 3b681d4..5b8b5f8 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test
index a590f96..dc470a5 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test
index e7c50e3..27a6c93 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-rd.shader_test
index 0d3841d..6e4c85a 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test
index 3860854..418c2fa 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test
index cf3d417..cf5b3d33 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-wr.shader_test
index 3292f8b..b2959b1 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-rd.shader_test
index 3ec6d40..b32136d 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test
index 07a131a..3d8620d 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test
index 040f504..0857aee 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-wr.shader_test
index 05d3794..f6d6f9a 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test
index 7fa1b6a..7348421 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test
index fdb2f31..a60546d 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test
index 4d9dde1..bbb65ec 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test
index ddcad2f..d159a12 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test
index 7febdad..a4af1ac 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test
index 11bf4fc..327e885 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test
index 7947d19..b9e39db 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test
index c2e19c2..8f2cedf 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-rd.shader_test
index 70d36d6..3cd0305 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test
index a150174..2dbc379 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test
index dd3e142..4dbe6fa 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-wr.shader_test
index e2fd013..2b5d1e0 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-rd.shader_test
index 806f697..a77b48d 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test
index 74a0a39..d1221d7 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test
index fb37b93..3191c62 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-wr.shader_test
index 744bb46..7e36596 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-rd.shader_test
index 9b81555..fa016d9 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test
index a58e119..12ad2ee 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test
index 685bc1a..4b6b0c0 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 4
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-wr.shader_test
index 5d55789..12355a3 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 4
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-rd.shader_test
index 31fbc1f..c23f9fe 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-row-rd.shader_test
index 1552fc7..3020be6 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-row-wr.shader_test
index 2d74f30..9968287 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 4
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-wr.shader_test
index b436075..943aa67 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 4
 
 [vertex shader]
 uniform mat2 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-rd.shader_test
index d7020a5..e3732e3 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test
index 525b164..50e2355 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test
index 077c416..69cad99 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 9
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-wr.shader_test
index 5709ebb..28ac8ba 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 9
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-rd.shader_test
index 433d4d9..1ae53ec 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-row-rd.shader_test
index fdfff45..eea7be3 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-row-wr.shader_test
index 09e8191..e77edb6 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 9
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-wr.shader_test
index 23117d6..5ba4303 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 9
 
 [vertex shader]
 uniform mat3 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-rd.shader_test
index 08529d1..d57c9bf 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test
index 17080f8..232c1e2 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test
index ba3f532..2056779 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-wr.shader_test
index f48ba09..d370fe3 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-rd.shader_test
index 8201566..b3093c3 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-row-rd.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-row-rd.shader_test
index b15ab10..71b94fd 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-row-rd.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-row-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-row-wr.shader_test
index a4f1f8f..11d5f14 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-row-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-row-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-wr.shader_test b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-wr.shader_test
index db59eb3..7201d82 100644
--- a/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-wr.shader_test
+++ b/tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-wr.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.10
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform mat4 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test
index dc1ee89..79a31cb 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test
index a6b8ae6..393667f 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test
index 9f5b0f0..9bcce28 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test
index a1a4307..78291cb 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-rd.shader_test
index 8f7e819..823cfab 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test
index 1164937..19395ef 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-rd.shader_test
index 9b0579f..e18aed4 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test
index 145889e..9b9d63a 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test
index 679f9af..1583f71 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test
index 33afe84..23769fd 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test
index ef1f10a..c470b31 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test
index 77a96e2..b1f0d8e 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-rd.shader_test
index 88fe5ce..a59cf40 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test
index 4aa49af..4086759 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-rd.shader_test
index 2d47123..17889c2 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test
index c73255b..4ba12f0 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test
index 8ecda15..46a74c0 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test
index 687cf6e..05fa3ea 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test
index edec616..db7acb7 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test
index ae9d587..2465eef 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-rd.shader_test
index 7714242..d8ce85a 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test
index 5045dc3..f4781e0 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-rd.shader_test
index cd8ae33..fbf6a21 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test
index 42b4344..7ebe317 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-col-rd.shader_test
index 88ff459..4dac5d0 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test
index 15324f0..d7c552a 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-rd.shader_test
index eb6fbee..0776170 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-row-rd.shader_test
index 3cb9046..8cabc16 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-col-rd.shader_test
index b565eae..ecf2f5d 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test
index 0bfcf3e..0962e03 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-rd.shader_test
index f7c71bc..27c8424 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-row-rd.shader_test
index 4cccf43..8709e26 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-col-rd.shader_test
index 09f9614..74ad106 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test
index 5ad24a2..4c9bf75 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-rd.shader_test
index 57fcf00..4ff233d 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-row-rd.shader_test
index 319f2b9..4a77e0c 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int row;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test
index e8638b2..6a9561f 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test
index 55992b7..d1c91e1 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int col;
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 d79e029..f1b597d 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2x2 src_matrix;
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 4cd6b70..d0736c8 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2x2 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test
index 01748a3..4280109 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test
index fc2f094..4d4542b 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
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 df1895e..8f7efa7 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2x2 src_matrix;
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 76de0c1..e38e563 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2x2 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-rd.shader_test
index 1df7d49..528819d 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test
index 2b2daf1..2a11d35 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int index;
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 482f6d1..51e705d 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2x2 src_matrix;
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 1732900..adcd8c2 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2x2 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-rd.shader_test
index cee403c..e7f12a2 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test
index 3f6d98e..75b3c69 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform int row;
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 f9a6968..5b17bd1 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2x2 src_matrix;
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 ca753f9..56faee6 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 12
 
 [vertex shader]
 uniform mat2x2 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test
index cff035a..2d2c939 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test
index 9d08ba2..7fe84b7 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int col;
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 3f517ad..4f6a477 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3x3 src_matrix;
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 d020208..b0a074c 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3x3 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test
index b78a8d4..56611d0 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test
index 4e68e1c..763f993 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
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 d02867a..559caed 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3x3 src_matrix;
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 95bf7ee..2088e5d 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3x3 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-rd.shader_test
index 9d683e7..90e4bed 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test
index c6126c9..3ab0909 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int index;
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 8c449ef..632c143 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3x3 src_matrix;
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 1e6db22..3ab8857 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3x3 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-rd.shader_test
index 10f9dd5..c87ce8a 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test
index b5b9102..1300e1f 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 31
 
 [vertex shader]
 uniform int row;
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 a1b7eea..2674d2f 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3x3 src_matrix;
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 e86a7d3..e7fe109 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 27
 
 [vertex shader]
 uniform mat3x3 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test
index 6d8962b..975cbe3 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test
index 3d0c5e1..cac0733 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int col;
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 a8ed101..04af4ac 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4x4 src_matrix;
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 9f22746..e643b12 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4x4 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test
index 33274db..4d94141 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test
index 3ac7574..1d72df2 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
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 1a93bd7..6624860 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4x4 src_matrix;
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 0ff0e4f..447fa8b 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4x4 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-rd.shader_test
index c815b72..0056d1c 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test
index 174787b..13c16ff 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int index;
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 b894509..27dfa70 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4x4 src_matrix;
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 e056619..03d8940 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4x4 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-rd.shader_test
index eb7e5cc..26bebc7 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test
index b581d63..feb6232 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 52
 
 [vertex shader]
 uniform int row;
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 ae1b1db..4d6f5da 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4x4 src_matrix;
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 45857a4..d448622 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 48
 
 [vertex shader]
 uniform mat4x4 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-rd.shader_test
index 23e6fde..ae7a107 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test
index 879efb7..2a42501 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int col;
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 9a5c4b8..9156048 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 4
 
 [vertex shader]
 uniform mat2x2 src_matrix;
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 de92fb6..9b63124 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 4
 
 [vertex shader]
 uniform mat2x2 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-rd.shader_test
index 539ca05..50cae77 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform vec2 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-row-rd.shader_test
index 9b9f54a..64cf194 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 8
 
 [vertex shader]
 uniform int row;
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 b5d782f..130f622 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 4
 
 [vertex shader]
 uniform mat2x2 src_matrix;
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 bdae87c..2f3ffac 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 4
 
 [vertex shader]
 uniform mat2x2 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-rd.shader_test
index 3f3db3d..8973749 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test
index a518f12..c9fd0c7 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int col;
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 0e8294f..3e18a02 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 9
 
 [vertex shader]
 uniform mat3x3 src_matrix;
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 e12b406..c1617f2 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 9
 
 [vertex shader]
 uniform mat3x3 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-rd.shader_test
index c54928f..57ca771 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform vec3 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-row-rd.shader_test
index 21b6d44..2ede104 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 13
 
 [vertex shader]
 uniform int row;
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 8ed2a9b..8560203 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 9
 
 [vertex shader]
 uniform mat3x3 src_matrix;
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 b806d3f..6b16893 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 9
 
 [vertex shader]
 uniform mat3x3 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-rd.shader_test
index b0f67b7..3ffde89 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int col;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test
index 898d8e3..51f584d 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int col;
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 8c74698..cc0c934 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform mat4x4 src_matrix;
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 eca8154..dcdf877 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform mat4x4 src_matrix;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-rd.shader_test
index 3e7a147..2ff9476 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform vec4 expect;
diff --git a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-row-rd.shader_test b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-row-rd.shader_test
index 5f3a88d..6cc06b4 100644
--- a/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-row-rd.shader_test
+++ b/tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-row-rd.shader_test
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 20
 
 [vertex shader]
 uniform int row;
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 4b2b75b..1f82a22 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform mat4x4 src_matrix;
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 804129c..d8f86a7 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
@@ -3,6 +3,7 @@
 
 [require]
 GLSL >= 1.20
+GL_MAX_VARYING_COMPONENTS >= 16
 
 [vertex shader]
 uniform mat4x4 src_matrix;
-- 
2.1.3



More information about the Piglit mailing list