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},
100 {1.0, 0.0, 1.0, 0.0},
101 {1.0, 0.0, 1.0, 0.0},
102 {1.0, 0.0, 1.0, 0.0},
103 {1.0, 0.0, 1.0, 0.0},
104 {1.0, 0.0, 1.0, 0.0},
105 {1.0, 0.0, 1.0, 0.0},
106 {1.0, 0.0, 1.0, 0.0},
107 {1.0, 0.0, 1.0, 0.0},
108 {1.0, 0.0, 1.0, 0.0},
109 {1.0, 0.0, 1.0, 0.0},
110 {1.0, 0.0, 1.0, 0.0},
111 {1.0, 0.0, 1.0, 0.0},
112 {1.0, 0.0, 1.0, 0.0},
113 {1.0, 0.0, 1.0, 0.0},
114 {1.0, 0.0, 1.0, 0.0},
116 {1.0, 0.0, 1.0, 0.0},
117 {1.0, 0.0, 1.0, 0.0},
118 {1.0, 0.0, 1.0, 0.0},
119 {1.0, 0.0, 1.0, 0.0},
120 {1.0, 0.0, 1.0, 0.0},
121 {1.0, 0.0, 1.0, 0.0},
122 {1.0, 0.0, 1.0, 0.0},
123 {1.0, 0.0, 1.0, 0.0},
124 {1.0, 0.0, 1.0, 0.0},
125 {1.0, 0.0, 1.0, 0.0},
126 {1.0, 0.0, 1.0, 0.0},
127 {1.0, 0.0, 1.0, 0.0},
128 {1.0, 0.0, 1.0, 0.0},
129 {1.0, 0.0, 1.0, 0.0},
130 {1.0, 0.0, 1.0, 0.0},
131 {1.0, 0.0, 1.0, 0.0},
133 {1.0, 0.0, 1.0, 0.0},
134 {1.0, 0.0, 1.0, 0.0},
135 {1.0, 0.0, 1.0, 0.0},
136 {1.0, 0.0, 1.0, 0.0},
137 {1.0, 0.0, 1.0, 0.0},
138 {1.0, 0.0, 1.0, 0.0},
139 {1.0, 0.0, 1.0, 0.0},
140 {1.0, 0.0, 1.0, 0.0},
141 {1.0, 0.0, 1.0, 0.0},
142 {1.0, 0.0, 1.0, 0.0},
143 {1.0, 0.0, 1.0, 0.0},
144 {1.0, 0.0, 1.0, 0.0},
145 {1.0, 0.0, 1.0, 0.0},
146 {1.0, 0.0, 1.0, 0.0},
147 {1.0, 0.0, 1.0, 0.0},
152 MUL temp.x, vertex.position.y, {2};
153 ADD temp.x, temp, vertex.position.x;
155 ADD result.color, vals[A0.x], vertex.position.xyzz;
160 clear color 0.0 1.0 1.0 1.0
163 probe all rgba 0.75 0.25 0.0 0.0