diff options
Diffstat (limited to 'tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat2-index-col-row-rd.shader_test')
-rw-r--r-- | tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat2-index-col-row-rd.shader_test | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat2-index-col-row-rd.shader_test b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat2-index-col-row-rd.shader_test index f564538f..dacd4df4 100644 --- a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat2-index-col-row-rd.shader_test +++ b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-array-mat2-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 @@ -59,8 +60,8 @@ uniform int row 1 uniform float expect 2 draw rect 5 20 10 10 probe rgb 10 25 0.0 1.0 0.0 -uniform int col 1 +uniform int col 1 uniform int row 0 uniform float expect 3 draw rect 20 5 10 10 @@ -70,9 +71,9 @@ uniform int row 1 uniform float expect 4 draw rect 20 20 10 10 probe rgb 25 25 0.0 1.0 0.0 + uniform int index 1 uniform int col 0 - uniform int row 0 uniform float expect 5 draw rect 45 5 10 10 @@ -82,8 +83,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 @@ -93,9 +94,9 @@ uniform int row 1 uniform float expect 8 draw rect 60 20 10 10 probe rgb 65 25 0.0 1.0 0.0 + uniform int index 2 uniform int col 0 - uniform int row 0 uniform float expect 9 draw rect 85 5 10 10 @@ -105,8 +106,8 @@ uniform int row 1 uniform float expect 10 draw rect 85 20 10 10 probe rgb 90 25 0.0 1.0 0.0 -uniform int col 1 +uniform int col 1 uniform int row 0 uniform float expect 11 draw rect 100 5 10 10 @@ -116,3 +117,4 @@ uniform int row 1 uniform float expect 12 draw rect 100 20 10 10 probe rgb 105 25 0.0 1.0 0.0 + |