aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat4-index-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-mat4-index-row-rd.shader_test')
-rw-r--r--tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat4-index-row-rd.shader_test10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat4-index-row-rd.shader_test b/tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat4-index-row-rd.shader_test
index 5cb0fabb..59042fdb 100644
--- a/tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat4-index-row-rd.shader_test
+++ b/tests/spec/glsl-es-1.00/execution/variable-index-read/vs-varying-array-mat4-index-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 index;
uniform int row;
uniform float expect;
@@ -62,7 +64,6 @@ clear color 0.5 0.5 0.5 0.5
clear
uniform int index 0
-
uniform int row 0
uniform float expect 5
draw rect 20 5 10 10
@@ -82,8 +83,8 @@ uniform int row 3
uniform float expect 8
draw rect 20 50 10 10
probe rgb 25 55 0.0 1.0 0.0
-uniform int index 1
+uniform int index 1
uniform int row 0
uniform float expect 21
draw rect 90 5 10 10
@@ -103,8 +104,8 @@ uniform int row 3
uniform float expect 24
draw rect 90 50 10 10
probe rgb 95 55 0.0 1.0 0.0
-uniform int index 2
+uniform int index 2
uniform int row 0
uniform float expect 37
draw rect 160 5 10 10
@@ -124,3 +125,4 @@ uniform int row 3
uniform float expect 40
draw rect 160 50 10 10
probe rgb 165 55 0.0 1.0 0.0
+