1 # Tests loading of an entry in a large constant array. Caught failure in the
2 # 965 driver where only the first entry of the constant array was necessarily
3 # correct, and the state containing the transformation matrix wasn't set up.
11 OPTION ARB_position_invariant;
100 {1.0, 0.0, 0.5, 0.0},
101 {0.8, 1.0, 0.0, 0.0},
102 {0.5, 1.0, 2.0, 0.0},
103 {1.0, 0.0, 0.8, 0.0},
104 {1.0, 0.0, 0.5, 0.0},
105 {0.8, 1.0, 0.0, 0.0},
106 {0.5, 1.0, 2.0, 0.0},
107 {1.0, 0.0, 0.8, 0.0},
108 {1.0, 0.0, 0.5, 0.0},
109 {0.8, 1.0, 0.0, 0.0},
110 {0.5, 1.0, 2.0, 0.0},
111 {1.0, 0.0, 0.8, 0.0},
112 {1.0, 0.0, 0.5, 0.0},
113 {0.8, 1.0, 0.0, 0.0},
115 {0.5, 1.0, 2.0, 0.0},
116 {1.0, 0.0, 0.8, 0.0},
117 {1.0, 0.0, 0.5, 0.0},
118 {0.8, 1.0, 0.0, 0.0},
119 {0.5, 1.0, 2.0, 0.0},
120 {1.0, 0.0, 0.8, 0.0},
121 {1.0, 0.0, 0.5, 0.0},
122 {0.8, 1.0, 0.0, 0.0},
123 {0.5, 1.0, 2.0, 0.0},
124 {1.0, 0.0, 0.8, 0.0},
125 {1.0, 0.0, 0.5, 0.0},
126 {0.8, 1.0, 0.0, 0.0},
127 {0.5, 1.0, 2.0, 0.0},
128 {1.0, 0.0, 0.8, 0.0},
129 {1.0, 0.0, 0.5, 0.0},
134 ARL A0.x, program.local[0].x;
135 MOV result.color, vals[A0.x+0];
140 parameter local_vp 0 (0.0, 0.0, 0.0, 0.0)
141 clear color 1.0 0.0 0.0 1.0
144 probe all rgba 0.5 1.0 1.0 0.0
145 parameter local_vp 0 (1.0, 0.0, 0.0, 0.0)
146 clear color 0.0 1.0 0.0 1.0
149 probe all rgba 1.0 0.0 0.8 0.0
150 parameter local_vp 0 (2.0, 0.0, 0.0, 0.0)
151 clear color 0.0 1.0 1.0 1.0
154 probe all rgba 1.0 0.0 0.5 0.0
155 parameter local_vp 0 (3.0, 0.0, 0.0, 0.0)
156 clear color 0.0 0.0 1.0 1.0
159 probe all rgba 0.8 1.0 0.0 0.0