Home | History | Annotate | Download | only in functional

Lines Matching refs:arr

210 			float arr[4];
211 arr[0] = constCoords.x();
212 arr[1] = constCoords.x() * 0.5f;
213 arr[2] = constCoords.x() * 0.25f;
214 arr[3] = constCoords.x() * 0.125f;
215 gl.uniform1fv(arrLoc, 4, &arr[0]);
219 Vec2 arr[4];
220 arr[0] = constCoords.swizzle(0,1);
221 arr[1] = constCoords.swizzle(0,1) * 0.5f;
222 arr[2] = constCoords.swizzle(0,1) * 0.25f;
223 arr[3] = constCoords.swizzle(0,1) * 0.125f;
224 gl.uniform2fv(arrLoc, 4, arr[0].getPtr());
228 Vec3 arr[4];
229 arr[0] = constCoords.swizzle(0,1,2);
230 arr[1] = constCoords.swizzle(0,1,2) * 0.5f;
231 arr[2] = constCoords.swizzle(0,1,2) * 0.25f;
232 arr[3] = constCoords.swizzle(0,1,2) * 0.125f;
233 gl.uniform3fv(arrLoc, 4, arr[0].getPtr());
237 Vec4 arr[4];
238 arr[0] = constCoords.swizzle(0,1,2,3);
239 arr[1] = constCoords.swizzle(0,1,2,3) * 0.5f;
240 arr[2] = constCoords.swizzle(0,1,2,3) * 0.25f;
241 arr[3] = constCoords.swizzle(0,1,2,3) * 0.125f;
242 gl.uniform4fv(arrLoc, 4, arr[0].getPtr());
525 op << " ${PRECISION} ${VAR_TYPE} arr[${ARRAY_LEN}];\n";
528 op << " arr[0] = ${VAR_TYPE}(coords);\n";
529 op << " arr[1] = ${VAR_TYPE}(coords) * 0.5;\n";
530 op << " arr[2] = ${VAR_TYPE}(coords) * 0.25;\n";
531 op << " arr[3] = ${VAR_TYPE}(coords) * 0.125;\n";
535 op << " arr[ui_zero] = ${VAR_TYPE}(coords);\n";
536 op << " arr[ui_one] = ${VAR_TYPE}(coords) * 0.5;\n";
537 op << " arr[ui_two] = ${VAR_TYPE}(coords) * 0.25;\n";
538 op << " arr[ui_three] = ${VAR_TYPE}(coords) * 0.125;\n";
544 op << " arr[i] = ${VAR_TYPE}(coords);\n";
553 op << " arr[i] = ${VAR_TYPE}(coords);\n";
562 op << " res += arr[0];\n";
563 op << " res += arr[1];\n";
564 op << " res += arr[2];\n";
565 op << " res += arr[3];\n";
569 op << " res += arr[ui_zero];\n";
570 op << " res += arr[ui_one];\n";
571 op << " res += arr[ui_two];\n";
572 op << " res += arr[ui_three];\n";
577 op << " res += arr[i];\n";
583 op << " res += arr[i];\n";