ext_gpu_shader4: add compiler tests for everything
[piglit.git] / tests / spec / arb_vertex_program / instructions / sub_with_swizzle.shader_test
blobf42d0f9675b38999884209c21d0f148c8024e7a5
1 [require]
2 GL >= 1.3
3 ARB_vertex_program
5 [vertex program]
6 !!ARBvp1.0
7 PARAM p1 = program.local[1];
8 MOV result.position, vertex.position;
9 SUB result.color, p1.yxwz, vertex.color.primary.yxwz;
10 END
12 [test]
13 ortho -4 4 -4 4
14 color 0.25 0.75 0.5 0.25
15 parameter local_vp 1 (0.5, 0.25, 0.9, 0.5)
16 draw rect -0.25 -0.25 0.5 0.5
17 relative probe rgba (0.5, 0.5) (0.0, 0.25, 0.25, 0.4)