1 # Tests loading of a per-vertex variable entry from a constant array.
9 OPTION ARB_position_invariant;
11 { 0.75, 0.25, 0.0, 0.0},
12 {-0.25, 0.25, 0.0, 0.0},
13 { 0.75, -0.75, 0.0, 0.0},
14 {-0.25, -0.75, 0.0, 0.0}
18 MUL temp.x, vertex.position.y, {2};
19 ADD temp.x, temp, vertex.position.x;
21 ADD result.color, vals[A0.x], vertex.position.xyzz;
26 clear color 0.0 1.0 1.0 1.0
29 probe all rgba 0.75 0.25 0.0 0.0