aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat4-index-col-row-rd.shader_test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat4-index-col-row-rd.shader_test')
-rw-r--r--tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat4-index-col-row-rd.shader_test28
1 files changed, 15 insertions, 13 deletions
diff --git a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat4-index-col-row-rd.shader_test b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat4-index-col-row-rd.shader_test
index c98cb7b4..44690795 100644
--- a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat4-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat4-index-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
@@ -30,6 +30,8 @@ void main()
}
[fragment shader]
+precision highp float;
+precision highp int;
uniform int index;
uniform int col;
uniform int row;
@@ -49,7 +51,6 @@ clear
uniform int index 0
uniform int col 0
-
uniform int row 0
uniform float expect 1
draw rect 5 5 10 10
@@ -69,8 +70,8 @@ uniform int row 3
uniform float expect 4
draw rect 5 50 10 10
probe rgb 10 55 0.0 1.0 0.0
-uniform int col 1
+uniform int col 1
uniform int row 0
uniform float expect 5
draw rect 20 5 10 10
@@ -90,8 +91,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 col 2
+uniform int col 2
uniform int row 0
uniform float expect 9
draw rect 35 5 10 10
@@ -111,8 +112,8 @@ uniform int row 3
uniform float expect 12
draw rect 35 50 10 10
probe rgb 40 55 0.0 1.0 0.0
-uniform int col 3
+uniform int col 3
uniform int row 0
uniform float expect 13
draw rect 50 5 10 10
@@ -132,9 +133,9 @@ uniform int row 3
uniform float expect 16
draw rect 50 50 10 10
probe rgb 55 55 0.0 1.0 0.0
+
uniform int index 1
uniform int col 0
-
uniform int row 0
uniform float expect 17
draw rect 75 5 10 10
@@ -154,8 +155,8 @@ uniform int row 3
uniform float expect 20
draw rect 75 50 10 10
probe rgb 80 55 0.0 1.0 0.0
-uniform int col 1
+uniform int col 1
uniform int row 0
uniform float expect 21
draw rect 90 5 10 10
@@ -175,8 +176,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 col 2
+uniform int col 2
uniform int row 0
uniform float expect 25
draw rect 105 5 10 10
@@ -196,8 +197,8 @@ uniform int row 3
uniform float expect 28
draw rect 105 50 10 10
probe rgb 110 55 0.0 1.0 0.0
-uniform int col 3
+uniform int col 3
uniform int row 0
uniform float expect 29
draw rect 120 5 10 10
@@ -217,9 +218,9 @@ uniform int row 3
uniform float expect 32
draw rect 120 50 10 10
probe rgb 125 55 0.0 1.0 0.0
+
uniform int index 2
uniform int col 0
-
uniform int row 0
uniform float expect 33
draw rect 145 5 10 10
@@ -239,8 +240,8 @@ uniform int row 3
uniform float expect 36
draw rect 145 50 10 10
probe rgb 150 55 0.0 1.0 0.0
-uniform int col 1
+uniform int col 1
uniform int row 0
uniform float expect 37
draw rect 160 5 10 10
@@ -260,8 +261,8 @@ uniform int row 3
uniform float expect 40
draw rect 160 50 10 10
probe rgb 165 55 0.0 1.0 0.0
-uniform int col 2
+uniform int col 2
uniform int row 0
uniform float expect 41
draw rect 175 5 10 10
@@ -281,8 +282,8 @@ uniform int row 3
uniform float expect 44
draw rect 175 50 10 10
probe rgb 180 55 0.0 1.0 0.0
-uniform int col 3
+uniform int col 3
uniform int row 0
uniform float expect 45
draw rect 190 5 10 10
@@ -302,3 +303,4 @@ uniform int row 3
uniform float expect 48
draw rect 190 50 10 10
probe rgb 195 55 0.0 1.0 0.0
+