aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat2-col-row-rd.shader_test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat2-col-row-rd.shader_test')
-rw-r--r--tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat2-col-row-rd.shader_test8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat2-col-row-rd.shader_test b/tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat2-col-row-rd.shader_test
index 8fdd589c..abb76486 100644
--- a/tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat2-col-row-rd.shader_test
+++ b/tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat2-col-row-rd.shader_test
@@ -1,5 +1,5 @@
# Test generated by:
-# ../variable-index-read.sh 1.00
+# ../../../glsl-1.10/variable-index-read.sh 1.00
[require]
GLSL ES >= 1.00
@@ -39,6 +39,8 @@ void main()
}
[fragment shader]
+precision highp float;
+precision highp int;
uniform int col;
uniform int row;
uniform float expect;
@@ -62,7 +64,6 @@ clear color 0.5 0.5 0.5 0.5
clear
uniform int col 0
-
uniform int row 0
uniform float expect 5
draw rect 45 5 10 10
@@ -72,8 +73,8 @@ uniform int row 1
uniform float expect 6
draw rect 45 20 10 10
probe rgb 50 25 0.0 1.0 0.0
-uniform int col 1
+uniform int col 1
uniform int row 0
uniform float expect 7
draw rect 60 5 10 10
@@ -83,3 +84,4 @@ uniform int row 1
uniform float expect 8
draw rect 60 20 10 10
probe rgb 65 25 0.0 1.0 0.0
+