summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-01-04 16:50:58 -0800
committerEric Anholt <eric@anholt.net>2015-03-25 12:46:18 -0700
commit384a93dce58404f6ed08a141391c35a32d230482 (patch)
tree60beb53dfa910fa8321d9cbc31f071549a8a63be
parent1e8e49a008937b422d4456ef70a95d58fdbc6427 (diff)
variable-indexing: Re-run code generation and commit.
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat2-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat3-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/fs-varying-mat4-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-index-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat2-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-index-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-index-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat4-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat2-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat3-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-mat4-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat2-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat3-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-array-mat4-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat2-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat3-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/fs-varying-mat4-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-index-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat2-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-index-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat3-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-index-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-array-mat4-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat2-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat3-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-col-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-row-rd.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-row-wr.shader_test1
-rw-r--r--tests/spec/glsl-1.20/execution/variable-indexing/vs-varying-mat4-wr.shader_test1
216 files changed, 216 insertions, 0 deletions
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 8198236a7..ab6873298 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 6b9c78889..5d69521d4 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 af2551a73..f5ce0afd8 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 213cb989a..3fee0f2a5 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 412417c3e..9f1b25cc4 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 9c3020266..d4b58c5d1 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 d736018c9..841e362b6 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 852e1b194..c446ca7c8 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 929a47e3e..87f276da6 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 595069d75..17a804393 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 ac3d15ab3..ec20f3e5c 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 905eaf90d..57cc5cfca 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 fabf1a569..74954b44c 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 ee8b6d22a..0eeaeb8e3 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 c60d5d4d8..c7b40d720 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 dfda10e94..d8ccb0641 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 65febbabc..809e95b2c 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 dae0367b9..93f0fe448 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 cbb486ced..4b181cf4a 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 ab6060b5f..d73bc386b 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 6080b812f..3232fee22 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 143502907..58c204f1a 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 2adf4aba6..096d9db84 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 b8261c486..6a938b53e 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 4e5db323b..0852a1c93 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 86f05f153..62f5c57cd 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 dc7f48d55..f47061cc0 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 4b37fa01d..be5d7a631 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 208ac1e8d..16e3a85c1 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 7bc78f9e9..2d51503d5 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 4967d6ca2..b80233b3a 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 3f3733bc9..eaf240ffc 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 8883caecc..2b49710ff 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 9085f16fd..5270d076c 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 6de6338a0..c23ba8934 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 00c872a06..d86c759cb 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 188f437dc..396810b11 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 f3ea08c1c..1319d999f 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 58ccac952..554e87a7d 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 d663ceefe..2371af2de 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 1943a8220..435f91122 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 0c963c7fd..86a6d4d7a 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 8ed3be9b1..b96ea17da 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 9cf66cd76..f5e3ee29a 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 6ae95e26d..7acf786f3 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 1eccd812a..b3a3fbbd9 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 7061c48b2..866f58aac 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 045c7ca50..6724f541f 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 3444392f4..3fd5281ed 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 59771c3c0..17243b065 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 3dddd3e39..f3d8d2892 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 7c670fe1d..a684682ab 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 d8f16c07b..4abf62664 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 b46a6b711..a6852c3db 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 a33ef9d11..bc3774367 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 57eaf8831..0e48d4c8e 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 348185dd4..8899facc5 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 3b681d41b..5b8b5f89e 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 a590f964e..dc470a563 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 e7c50e343..27a6c938e 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 0d3841d0e..6e4c85ad5 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 38608541c..418c2fa9c 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 cf3d417c5..cf5b3d33d 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 3292f8bb3..b2959b18b 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 3ec6d40eb..b32136d87 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 07a131a6f..3d8620d65 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 040f504d4..0857aee33 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 05d379473..f6d6f9af5 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 7fa1b6a54..73484210c 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 fdb2f317b..a60546daa 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 4d9dde100..bbb65ec6a 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 ddcad2fbb..d159a120d 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 7febdad7a..a4af1acf7 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 11bf4fc6e..327e885c5 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 7947d199e..b9e39dbc7 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 c2e19c21d..8f2cedfda 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 70d36d694..3cd0305ee 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 a1501744c..2dbc379ae 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 dd3e142e1..4dbe6faf2 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 e2fd013b3..2b5d1e009 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 806f6973a..a77b48de2 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 74a0a39d1..d1221d7a0 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 fb37b9325..3191c6210 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 744bb4635..7e365961c 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 9b8155559..fa016d951 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 a58e119ed..12ad2ee38 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 685bc1a1b..4b6b0c04e 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 5d5578903..12355a381 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 31fbc1f7c..c23f9fed1 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 1552fc785..3020be60f 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 2d74f3072..996828789 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 b43607565..943aa6765 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 d7020a52b..e3732e363 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 525b16462..50e2355fe 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 077c41612..69cad992d 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 5709ebbad..28ac8baef 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 433d4d930..1ae53ecb8 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 fdfff4532..eea7be373 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 09e81915c..e77edb67f 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 23117d6bd..5ba4303f2 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 08529d1d6..d57c9bfeb 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 17080f871..232c1e2b2 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 ba3f53285..2056779d5 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 f48ba0992..d370fe331 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 8201566c2..b3093c323 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 b15ab100c..71b94fdf7 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 a4f1f8f00..11d5f1441 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 db59eb327..7201d82f9 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 dc1ee89d5..79a31cbc8 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 a6b8ae6b5..393667f42 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 9f5b0f00d..9bcce28ed 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 a1a430709..78291cb50 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 8f7e819eb..823cfab71 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 11649370b..19395ef4f 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 9b0579f87..e18aed4bc 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 145889ed0..9b9d63ad3 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 679f9af2b..1583f7115 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 33afe843e..23769fdb5 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 ef1f10a69..c470b312d 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 77a96e278..b1f0d8e3a 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 88fe5ce15..a59cf4037 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 4aa49af13..4086759f7 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 2d47123ef..17889c2b6 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 c73255bba..4ba12f026 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 8ecda1529..46a74c0e5 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 687cf6eea..05fa3ea14 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 edec61671..db7acb7a5 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 ae9d58777..2465eef21 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 7714242b2..d8ce85a74 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 5045dc320..f4781e016 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 cd8ae33b5..fbf6a212e 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 42b43444a..7ebe31716 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 88ff45966..4dac5d06b 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 15324f0a6..d7c552ab5 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 eb6fbeef5..0776170e5 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 3cb904601..8cabc16f6 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 b565eaeb7..ecf2f5d48 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 0bfcf3ede..0962e0322 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 f7c71bca1..27c8424e1 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 4cccf436f..8709e261a 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 09f96149f..74ad10687 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 5ad24a2b3..4c9bf7590 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 57fcf0051..4ff233d6c 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 319f2b9c0..4a77e0ccb 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 e8638b291..6a9561f08 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 55992b736..d1c91e1b2 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 d79e029bf..f1b597dd5 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 4cd6b702a..d0736c8c3 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 01748a31f..4280109d8 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 fc2f094d8..4d4542b00 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 df1895e2d..8f7efa791 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 76de0c19f..e38e563c9 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 1df7d4914..528819d3e 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 2b2daf106..2a11d3549 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 482f6d1b8..51e705da5 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 17329007e..adcd8c241 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 cee403c2f..e7f12a20c 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 3f6d98e21..75b3c69b9 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 f9a6968a7..5b17bd12b 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 ca753f94a..56faee6c2 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 cff035aac..2d2c939e8 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 9d08ba2ca..7fe84b776 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 3f517adfc..4f6a47709 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 d0202088a..b0a074c79 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 b78a8d473..56611d09c 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 4e68e1c0a..763f9935b 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 d02867a65..559caedd9 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 95bf7ee87..2088e5d0e 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 9d683e73e..90e4bedc4 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 c6126c9c1..3ab09092e 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 8c449effc..632c1435e 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 1e6db22ae..3ab8857f6 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 10f9dd58b..c87ce8a83 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 b5b9102d9..1300e1f44 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 a1b7eea56..2674d2f20 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 e86a7d381..e7fe10982 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 6d8962be0..975cbe385 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 3d0c5e1ad..cac073380 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 a8ed10165..04af4ac74 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 9f2274698..e643b1296 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 33274db27..4d94141b7 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 3ac7574db..1d72df23a 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 1a93bd748..6624860f5 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 0ff0e4f90..447fa8b4e 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 c815b7292..0056d1cea 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 174787b9d..13c16ff47 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 b894509dd..27dfa707f 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 e05661957..03d8940dd 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 eb7e5cc45..26bebc7cd 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 b581d63e0..feb62321f 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 ae1b1db2e..4d6f5da09 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 45857a4f9..d448622c5 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 23e6fde86..ae7a107eb 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 879efb7aa..2a425019d 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 9a5c4b86d..9156048ca 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 de92fb6f6..9b6312497 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 539ca059f..50cae7791 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 9b9f54add..64cf19474 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 b5d782f60..130f6227b 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 bdae87c23..2f3ffacbf 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 3f3db3d0b..89737490a 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 a518f128d..c9fd0c7b0 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 0e8294f2a..3e18a029c 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 e12b40663..c1617f2a3 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 c54928f55..57ca771c1 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 21b6d448b..2ede1046e 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 8ed2a9b34..85602039c 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 b806d3fe2..6b1689322 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 b0f67b7e1..3ffde8929 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 898d8e38a..51f584d2f 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 8c74698a5..cc0c934b3 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 eca8154ee..dcdf8771e 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 3e7a147f0..2ff947619 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 5f3a88d56..6cc06b48f 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 4b2b75bf4..1f82a2202 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 804129cf5..d8f86a7e3 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;