ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git] / tests / spec / arb_vertex_program / instructions / exp.shader_test
blob24d8b61800471877ff590899bea42fba8bb3f735
1 [require]
2 GL >= 1.3
3 ARB_vertex_program
5 [vertex program]
6 !!ARBvp1.0
7 PARAM scale = {0.01, 0.01, 0.01, 0.01};
8 PARAM values = {4.5, 0, 0, 0};
9 TEMP t;
10 MOV result.position, vertex.position;
11 EXP t, values.x;
12 MUL result.color, t, scale;
13 END
15 [test]
16 ortho -4 4 -4 4
17 draw rect -0.25 -0.25 0.5 0.5
18 relative probe rgba (0.5, 0.5) (0.16, 0.005, 0.22627, 0.01)