ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git] / tests / spec / arb_vertex_program / instructions / abs.shader_test
blob460175119211bb43b9b08138dddb6726ddcb6c55
1 [require]
2 GL >= 1.3
3 ARB_vertex_program
5 [vertex program]
6 !!ARBvp1.0
7 PARAM p2 = program.local[2];
8 MOV result.position, vertex.position;
9 ABS result.color, p2;
10 END
12 [test]
13 ortho -4 4 -4 4
14 parameter local_vp 2 (-1.0, 0.0, 0.25, -0.5)
15 draw rect -0.25 -0.25 0.5 0.5
16 relative probe rgba (0.5, 0.5) (1.0, 0.0, 0.25, 0.5)