diff options
Diffstat (limited to 'tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-mat4-col-row-rd.shader_test')
-rw-r--r-- | tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-mat4-col-row-rd.shader_test | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-mat4-col-row-rd.shader_test b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-mat4-col-row-rd.shader_test index c618eed9..c32e3c0e 100644 --- a/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-mat4-col-row-rd.shader_test +++ b/tests/spec/glsl-es-1.00/execution/variable-index-read/fs-varying-mat4-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 @@ -27,6 +27,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 color 0.5 0.5 0.5 0.5 clear uniform int col 0 - uniform int row 0 uniform float expect 1 draw rect 5 5 10 10 @@ -64,8 +65,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 @@ -85,8 +86,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 @@ -106,8 +107,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 @@ -127,3 +128,4 @@ uniform int row 3 uniform float expect 16 draw rect 50 50 10 10 probe rgb 55 55 0.0 1.0 0.0 + |