diff options
Diffstat (limited to 'tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-mat2-col-row-rd.shader_test')
-rw-r--r-- | tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-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-mat2-col-row-rd.shader_test b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-mat2-col-row-rd.shader_test index b0275e6d..cdfce4f4 100644 --- a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-mat2-col-row-rd.shader_test +++ b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-uniform-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; @@ -43,7 +45,6 @@ clear uniform mat2x2 m 1.0 2.0 3.0 4.0 uniform int col 0 - uniform int row 0 uniform float expect 1 draw rect 5 5 10 10 @@ -53,8 +54,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 @@ -64,3 +65,4 @@ uniform int row 1 uniform float expect 4 draw rect 20 20 10 10 probe rgb 25 25 0.0 1.0 0.0 + |