aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-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-temp-array-mat4-index-col-row-rd.shader_test')
-rw-r--r--tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-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-temp-array-mat4-index-col-row-rd.shader_test b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-array-mat4-index-col-row-rd.shader_test
index dbd75c2c..eabf95dc 100644
--- a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-array-mat4-index-col-row-rd.shader_test
+++ b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-temp-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
@@ -25,6 +25,8 @@ void main()
}
[fragment shader]
+precision highp float;
+precision highp int;
uniform int index;
uniform int col;
uniform int row;
@@ -48,7 +50,6 @@ clear
uniform int index 0
uniform int col 0
-
uniform int row 0
uniform float expect 1
draw rect 5 5 10 10
@@ -68,8 +69,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
@@ -89,8 +90,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
@@ -110,8 +111,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
@@ -131,9 +132,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
@@ -153,8 +154,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
@@ -174,8 +175,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
@@ -195,8 +196,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
@@ -216,9 +217,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
@@ -238,8 +239,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
@@ -259,8 +260,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
@@ -280,8 +281,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
@@ -301,3 +302,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
+