1 # Detects whether or not the implementation correctly uses floor() for ARL
2 # or incorrectly uses round().
10 OPTION ARB_position_invariant;
13 PARAM p[2] = { program.local[0..1] };
15 ARL A0.x, program.local[2].x;
16 MOV result.color, p[A0.x];
21 parameter local_vp 0 (0.0, 1.0, 0.0, 1.0)
22 parameter local_vp 1 (1.0, 0.0, 0.0, 1.0)
23 parameter local_vp 2 (0.99999, 0.0, 0.0, 0.0)
24 clear color 1.0 0.0 1.0 0.0
27 probe all rgba 0.0 1.0 0.0 1.0