ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git] / tests / spec / arb_vertex_program / infinity_and_nan.shader_test
blob0f3aaeeec492d3f89f3cd018d60fa01302d51a12
1 [require]
2 GL >= 1.3
3 ARB_vertex_program
5 [vertex program]
6 !!ARBvp1.0
7 PARAM zero = program.local[0];
8 PARAM infNan = program.local[9];
9 MOV result.position, vertex.position;
10 ADD result.color, infNan, zero;
11 END
13 [test]
14 ortho -4 4 -4 4
15 parameter local_vp 0 (0.0, 0.0, 0.0, 0.0)
16 parameter local_vp 9 (INF, -INF, NAN, 0.0)
17 draw rect -0.25 -0.25 0.5 0.5