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