fix the spelling in whole piglit
[piglit.git] / tests / shaders / ssa / fs-while-loop-rotate-value.shader_test
blob337f578a193842b5fa5c6ab198047a55a9337197
1 # test to check a bug in r600 sb backend
2 # it miscompiles this due to the 1.0
3 # at the end weirdly.
4 [require]
5 GLSL >= 1.10
7 [vertex shader passthrough]
9 [fragment shader]
10 uniform int count;
11 uniform vec4 init_val;
13 void main()
15         vec4 out_val = init_val;
16         int i = 0;
17         while (i++ < count) {
18                 out_val = out_val.yzwx;
19         }
20         gl_FragColor = vec4(out_val.xyz, 1.0);
23 [test]
24 uniform int count 3
25 uniform vec4 init_val 0.25 0.5 0.75 1.0
27 draw rect -1 -1 2 2
28 probe all rgba 1.0 0.25 0.5 1.0