aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-array-mat3-index-row-rd.shader_test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-array-mat3-index-row-rd.shader_test')
-rw-r--r--tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-array-mat3-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/fs-temp-array-mat3-index-row-rd.shader_test b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-array-mat3-index-row-rd.shader_test
index 5aec0a0d..34d5c1cb 100644
--- a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-array-mat3-index-row-rd.shader_test
+++ b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-array-mat3-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
@@ -24,6 +24,8 @@ void main()
}
[fragment shader]
+precision highp float;
+precision highp int;
uniform int index;
uniform int row;
uniform float expect;
@@ -45,7 +47,6 @@ clear color 0.5 0.5 0.5 0.5
clear
uniform int index 0
-
uniform int row 0
uniform float expect 4
draw rect 20 5 10 10
@@ -60,8 +61,8 @@ uniform int row 2
uniform float expect 6
draw rect 20 35 10 10
probe rgb 25 40 0.0 1.0 0.0
-uniform int index 1
+uniform int index 1
uniform int row 0
uniform float expect 13
draw rect 75 5 10 10
@@ -76,8 +77,8 @@ uniform int row 2
uniform float expect 15
draw rect 75 35 10 10
probe rgb 80 40 0.0 1.0 0.0
-uniform int index 2
+uniform int index 2
uniform int row 0
uniform float expect 22
draw rect 130 5 10 10
@@ -92,3 +93,4 @@ uniform int row 2
uniform float expect 24
draw rect 130 35 10 10
probe rgb 135 40 0.0 1.0 0.0
+