diff options
Diffstat (limited to 'tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-array-mat2-col-row-rd.shader_test')
-rw-r--r-- | tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-array-mat2-col-row-rd.shader_test | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-array-mat2-col-row-rd.shader_test b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-array-mat2-col-row-rd.shader_test index e3050f48..3caf5f6c 100644 --- a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-array-mat2-col-row-rd.shader_test +++ b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-array-mat2-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 col; uniform int row; uniform float expect; @@ -44,7 +46,6 @@ clear uniform mat2x2 m[0] 1.0 2.0 3.0 4.0 uniform mat2x2 m[1] 5.0 6.0 7.0 8.0 uniform int col 0 - uniform int row 0 uniform float expect 5 draw rect 45 5 10 10 @@ -54,8 +55,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 @@ -65,3 +66,4 @@ uniform int row 1 uniform float expect 8 draw rect 60 20 10 10 probe rgb 65 25 0.0 1.0 0.0 + |