Lines Matching refs:result

224               const struct gl_program_machine *machine, GLfloat result[4])  in fetch_vector4()
231 COPY_4V(result, src); in fetch_vector4()
238 result[0] = src[GET_SWZ(source->Swizzle, 0)]; in fetch_vector4()
239 result[1] = src[GET_SWZ(source->Swizzle, 1)]; in fetch_vector4()
240 result[2] = src[GET_SWZ(source->Swizzle, 2)]; in fetch_vector4()
241 result[3] = src[GET_SWZ(source->Swizzle, 3)]; in fetch_vector4()
245 result[0] = FABSF(result[0]); in fetch_vector4()
246 result[1] = FABSF(result[1]); in fetch_vector4()
247 result[2] = FABSF(result[2]); in fetch_vector4()
248 result[3] = FABSF(result[3]); in fetch_vector4()
252 result[0] = -result[0]; in fetch_vector4()
253 result[1] = -result[1]; in fetch_vector4()
254 result[2] = -result[2]; in fetch_vector4()
255 result[3] = -result[3]; in fetch_vector4()
259 assert(!IS_INF_OR_NAN(result[0])); in fetch_vector4()
260 assert(!IS_INF_OR_NAN(result[0])); in fetch_vector4()
261 assert(!IS_INF_OR_NAN(result[0])); in fetch_vector4()
262 assert(!IS_INF_OR_NAN(result[0])); in fetch_vector4()
273 const struct gl_program_machine *machine, GLuint result[4]) in fetch_vector4ui()
280 COPY_4V(result, src); in fetch_vector4ui()
287 result[0] = src[GET_SWZ(source->Swizzle, 0)]; in fetch_vector4ui()
288 result[1] = src[GET_SWZ(source->Swizzle, 1)]; in fetch_vector4ui()
289 result[2] = src[GET_SWZ(source->Swizzle, 2)]; in fetch_vector4ui()
290 result[3] = src[GET_SWZ(source->Swizzle, 3)]; in fetch_vector4ui()
306 char xOrY, GLfloat result[4]) in fetch_vector4_deriv()
328 result[0] = deriv[GET_SWZ(source->Swizzle, 0)]; in fetch_vector4_deriv()
329 result[1] = deriv[GET_SWZ(source->Swizzle, 1)]; in fetch_vector4_deriv()
330 result[2] = deriv[GET_SWZ(source->Swizzle, 2)]; in fetch_vector4_deriv()
331 result[3] = deriv[GET_SWZ(source->Swizzle, 3)]; in fetch_vector4_deriv()
334 result[0] = FABSF(result[0]); in fetch_vector4_deriv()
335 result[1] = FABSF(result[1]); in fetch_vector4_deriv()
336 result[2] = FABSF(result[2]); in fetch_vector4_deriv()
337 result[3] = FABSF(result[3]); in fetch_vector4_deriv()
341 result[0] = -result[0]; in fetch_vector4_deriv()
342 result[1] = -result[1]; in fetch_vector4_deriv()
343 result[2] = -result[2]; in fetch_vector4_deriv()
344 result[3] = -result[3]; in fetch_vector4_deriv()
348 ASSIGN_4V(result, 0.0, 0.0, 0.0, 0.0); in fetch_vector4_deriv()
358 const struct gl_program_machine *machine, GLfloat result[4]) in fetch_vector1()
363 result[0] = src[GET_SWZ(source->Swizzle, 0)]; in fetch_vector1()
366 result[0] = FABSF(result[0]); in fetch_vector1()
369 result[0] = -result[0]; in fetch_vector1()
668 GLfloat a[4], result[4]; in _mesa_execute_program() local
670 result[0] = FABSF(a[0]); in _mesa_execute_program()
671 result[1] = FABSF(a[1]); in _mesa_execute_program()
672 result[2] = FABSF(a[2]); in _mesa_execute_program()
673 result[3] = FABSF(a[3]); in _mesa_execute_program()
674 store_vector4(inst, machine, result); in _mesa_execute_program()
679 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
682 result[0] = a[0] + b[0]; in _mesa_execute_program()
683 result[1] = a[1] + b[1]; in _mesa_execute_program()
684 result[2] = a[2] + b[2]; in _mesa_execute_program()
685 result[3] = a[3] + b[3]; in _mesa_execute_program()
686 store_vector4(inst, machine, result); in _mesa_execute_program()
689 result[0], result[1], result[2], result[3], in _mesa_execute_program()
696 GLuint a[4], b[4], result[4]; in _mesa_execute_program() local
699 result[0] = a[0] & b[0]; in _mesa_execute_program()
700 result[1] = a[1] & b[1]; in _mesa_execute_program()
701 result[2] = a[2] & b[2]; in _mesa_execute_program()
702 result[3] = a[3] & b[3]; in _mesa_execute_program()
703 store_vector4ui(inst, machine, result); in _mesa_execute_program()
769 GLfloat a[4], b[4], c[4], result[4]; in _mesa_execute_program() local
773 result[0] = a[0] < 0.0F ? b[0] : c[0]; in _mesa_execute_program()
774 result[1] = a[1] < 0.0F ? b[1] : c[1]; in _mesa_execute_program()
775 result[2] = a[2] < 0.0F ? b[2] : c[2]; in _mesa_execute_program()
776 result[3] = a[3] < 0.0F ? b[3] : c[3]; in _mesa_execute_program()
777 store_vector4(inst, machine, result); in _mesa_execute_program()
780 result[0], result[1], result[2], result[3], in _mesa_execute_program()
789 GLfloat a[4], result[4]; in _mesa_execute_program() local
791 result[0] = result[1] = result[2] = result[3] in _mesa_execute_program()
793 store_vector4(inst, machine, result); in _mesa_execute_program()
798 GLfloat result[4]; in _mesa_execute_program() local
800 'X', result); in _mesa_execute_program()
801 store_vector4(inst, machine, result); in _mesa_execute_program()
806 GLfloat result[4]; in _mesa_execute_program() local
808 'Y', result); in _mesa_execute_program()
809 store_vector4(inst, machine, result); in _mesa_execute_program()
814 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
817 result[0] = result[1] = result[2] = result[3] = DOT2(a, b); in _mesa_execute_program()
818 store_vector4(inst, machine, result); in _mesa_execute_program()
821 result[0], a[0], a[1], b[0], b[1]); in _mesa_execute_program()
827 GLfloat a[4], b[4], c, result[4]; in _mesa_execute_program() local
831 result[0] = result[1] = result[2] = result[3] = DOT2(a, b) + c; in _mesa_execute_program()
832 store_vector4(inst, machine, result); in _mesa_execute_program()
835 result[0], a[0], a[1], b[0], b[1], c); in _mesa_execute_program()
841 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
844 result[0] = result[1] = result[2] = result[3] = DOT3(a, b); in _mesa_execute_program()
845 store_vector4(inst, machine, result); in _mesa_execute_program()
848 result[0], a[0], a[1], a[2], b[0], b[1], b[2]); in _mesa_execute_program()
854 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
857 result[0] = result[1] = result[2] = result[3] = DOT4(a, b); in _mesa_execute_program()
858 store_vector4(inst, machine, result); in _mesa_execute_program()
861 result[0], a[0], a[1], a[2], a[3], in _mesa_execute_program()
868 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
871 result[0] = result[1] = result[2] = result[3] = DOT3(a, b) + b[3]; in _mesa_execute_program()
872 store_vector4(inst, machine, result); in _mesa_execute_program()
877 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
880 result[0] = 1.0F; in _mesa_execute_program()
881 result[1] = a[1] * b[1]; in _mesa_execute_program()
882 result[2] = a[2]; in _mesa_execute_program()
883 result[3] = b[3]; in _mesa_execute_program()
884 store_vector4(inst, machine, result); in _mesa_execute_program()
915 GLfloat a[4], result[4], val; in _mesa_execute_program() local
922 result[0] = result[1] = result[2] = result[3] = val; in _mesa_execute_program()
923 store_vector4(inst, machine, result); in _mesa_execute_program()
928 GLfloat a[4], result[4]; in _mesa_execute_program() local
930 result[0] = FLOORF(a[0]); in _mesa_execute_program()
931 result[1] = FLOORF(a[1]); in _mesa_execute_program()
932 result[2] = FLOORF(a[2]); in _mesa_execute_program()
933 result[3] = FLOORF(a[3]); in _mesa_execute_program()
934 store_vector4(inst, machine, result); in _mesa_execute_program()
939 GLfloat a[4], result[4]; in _mesa_execute_program() local
941 result[0] = a[0] - FLOORF(a[0]); in _mesa_execute_program()
942 result[1] = a[1] - FLOORF(a[1]); in _mesa_execute_program()
943 result[2] = a[2] - FLOORF(a[2]); in _mesa_execute_program()
944 result[3] = a[3] - FLOORF(a[3]); in _mesa_execute_program()
945 store_vector4(inst, machine, result); in _mesa_execute_program()
1009 GLfloat a[4], result[4], val; in _mesa_execute_program() local
1019 result[0] = result[1] = result[2] = result[3] = val; in _mesa_execute_program()
1020 store_vector4(inst, machine, result); in _mesa_execute_program()
1026 GLfloat a[4], result[4]; in _mesa_execute_program() local
1032 result[0] = 1.0F; in _mesa_execute_program()
1033 result[1] = a[0]; in _mesa_execute_program()
1037 result[2] = 1.0F; in _mesa_execute_program()
1039 result[2] = (GLfloat) pow(a[1], a[3]); in _mesa_execute_program()
1042 result[2] = 0.0F; in _mesa_execute_program()
1044 result[3] = 1.0F; in _mesa_execute_program()
1045 store_vector4(inst, machine, result); in _mesa_execute_program()
1048 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1096 GLfloat a[4], b[4], c[4], result[4]; in _mesa_execute_program() local
1100 result[0] = a[0] * b[0] + (1.0F - a[0]) * c[0]; in _mesa_execute_program()
1101 result[1] = a[1] * b[1] + (1.0F - a[1]) * c[1]; in _mesa_execute_program()
1102 result[2] = a[2] * b[2] + (1.0F - a[2]) * c[2]; in _mesa_execute_program()
1103 result[3] = a[3] * b[3] + (1.0F - a[3]) * c[3]; in _mesa_execute_program()
1104 store_vector4(inst, machine, result); in _mesa_execute_program()
1108 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1116 GLfloat a[4], b[4], c[4], result[4]; in _mesa_execute_program() local
1120 result[0] = a[0] * b[0] + c[0]; in _mesa_execute_program()
1121 result[1] = a[1] * b[1] + c[1]; in _mesa_execute_program()
1122 result[2] = a[2] * b[2] + c[2]; in _mesa_execute_program()
1123 result[3] = a[3] * b[3] + c[3]; in _mesa_execute_program()
1124 store_vector4(inst, machine, result); in _mesa_execute_program()
1128 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1136 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1139 result[0] = MAX2(a[0], b[0]); in _mesa_execute_program()
1140 result[1] = MAX2(a[1], b[1]); in _mesa_execute_program()
1141 result[2] = MAX2(a[2], b[2]); in _mesa_execute_program()
1142 result[3] = MAX2(a[3], b[3]); in _mesa_execute_program()
1143 store_vector4(inst, machine, result); in _mesa_execute_program()
1146 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1153 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1156 result[0] = MIN2(a[0], b[0]); in _mesa_execute_program()
1157 result[1] = MIN2(a[1], b[1]); in _mesa_execute_program()
1158 result[2] = MIN2(a[2], b[2]); in _mesa_execute_program()
1159 result[3] = MIN2(a[3], b[3]); in _mesa_execute_program()
1160 store_vector4(inst, machine, result); in _mesa_execute_program()
1165 GLfloat result[4]; in _mesa_execute_program() local
1166 fetch_vector4(&inst->SrcReg[0], machine, result); in _mesa_execute_program()
1167 store_vector4(inst, machine, result); in _mesa_execute_program()
1170 result[0], result[1], result[2], result[3]); in _mesa_execute_program()
1176 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1179 result[0] = a[0] * b[0]; in _mesa_execute_program()
1180 result[1] = a[1] * b[1]; in _mesa_execute_program()
1181 result[2] = a[2] * b[2]; in _mesa_execute_program()
1182 result[3] = a[3] * b[3]; in _mesa_execute_program()
1183 store_vector4(inst, machine, result); in _mesa_execute_program()
1186 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1193 GLfloat a[4], result[4]; in _mesa_execute_program() local
1195 result[0] = in _mesa_execute_program()
1196 result[1] = in _mesa_execute_program()
1197 result[2] = in _mesa_execute_program()
1198 result[3] = _mesa_noise1(a[0]); in _mesa_execute_program()
1199 store_vector4(inst, machine, result); in _mesa_execute_program()
1204 GLfloat a[4], result[4]; in _mesa_execute_program() local
1206 result[0] = in _mesa_execute_program()
1207 result[1] = in _mesa_execute_program()
1208 result[2] = result[3] = _mesa_noise2(a[0], a[1]); in _mesa_execute_program()
1209 store_vector4(inst, machine, result); in _mesa_execute_program()
1214 GLfloat a[4], result[4]; in _mesa_execute_program() local
1216 result[0] = in _mesa_execute_program()
1217 result[1] = in _mesa_execute_program()
1218 result[2] = in _mesa_execute_program()
1219 result[3] = _mesa_noise3(a[0], a[1], a[2]); in _mesa_execute_program()
1220 store_vector4(inst, machine, result); in _mesa_execute_program()
1225 GLfloat a[4], result[4]; in _mesa_execute_program() local
1227 result[0] = in _mesa_execute_program()
1228 result[1] = in _mesa_execute_program()
1229 result[2] = in _mesa_execute_program()
1230 result[3] = _mesa_noise4(a[0], a[1], a[2], a[3]); in _mesa_execute_program()
1231 store_vector4(inst, machine, result); in _mesa_execute_program()
1238 GLuint a[4], result[4]; in _mesa_execute_program() local
1240 result[0] = ~a[0]; in _mesa_execute_program()
1241 result[1] = ~a[1]; in _mesa_execute_program()
1242 result[2] = ~a[2]; in _mesa_execute_program()
1243 result[3] = ~a[3]; in _mesa_execute_program()
1244 store_vector4ui(inst, machine, result); in _mesa_execute_program()
1249 GLfloat a[4], result[4]; in _mesa_execute_program() local
1255 result[0] = tmp * a[0]; in _mesa_execute_program()
1256 result[1] = tmp * a[1]; in _mesa_execute_program()
1257 result[2] = tmp * a[2]; in _mesa_execute_program()
1258 result[3] = 0.0; /* undefined, but prevent valgrind warnings */ in _mesa_execute_program()
1259 store_vector4(inst, machine, result); in _mesa_execute_program()
1264 GLfloat a[4], result[4]; in _mesa_execute_program() local
1270 result[0] = tmp * a[0]; in _mesa_execute_program()
1271 result[1] = tmp * a[1]; in _mesa_execute_program()
1272 result[2] = tmp * a[2]; in _mesa_execute_program()
1273 result[3] = tmp * a[3]; in _mesa_execute_program()
1274 store_vector4(inst, machine, result); in _mesa_execute_program()
1279 GLuint a[4], b[4], result[4]; in _mesa_execute_program() local
1282 result[0] = a[0] | b[0]; in _mesa_execute_program()
1283 result[1] = a[1] | b[1]; in _mesa_execute_program()
1284 result[2] = a[2] | b[2]; in _mesa_execute_program()
1285 result[3] = a[3] | b[3]; in _mesa_execute_program()
1286 store_vector4ui(inst, machine, result); in _mesa_execute_program()
1292 GLuint result[4]; in _mesa_execute_program() local
1297 result[0] = in _mesa_execute_program()
1298 result[1] = in _mesa_execute_program()
1299 result[2] = in _mesa_execute_program()
1300 result[3] = hx | (hy << 16); in _mesa_execute_program()
1301 store_vector4ui(inst, machine, result); in _mesa_execute_program()
1307 GLuint result[4], usx, usy; in _mesa_execute_program() local
1313 result[0] = in _mesa_execute_program()
1314 result[1] = in _mesa_execute_program()
1315 result[2] = in _mesa_execute_program()
1316 result[3] = usx | (usy << 16); in _mesa_execute_program()
1317 store_vector4ui(inst, machine, result); in _mesa_execute_program()
1323 GLuint result[4], ubx, uby, ubz, ubw; in _mesa_execute_program() local
1333 result[0] = in _mesa_execute_program()
1334 result[1] = in _mesa_execute_program()
1335 result[2] = in _mesa_execute_program()
1336 result[3] = ubx | (uby << 8) | (ubz << 16) | (ubw << 24); in _mesa_execute_program()
1337 store_vector4ui(inst, machine, result); in _mesa_execute_program()
1343 GLuint result[4], ubx, uby, ubz, ubw; in _mesa_execute_program() local
1353 result[0] = in _mesa_execute_program()
1354 result[1] = in _mesa_execute_program()
1355 result[2] = in _mesa_execute_program()
1356 result[3] = ubx | (uby << 8) | (ubz << 16) | (ubw << 24); in _mesa_execute_program()
1357 store_vector4ui(inst, machine, result); in _mesa_execute_program()
1362 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1365 result[0] = result[1] = result[2] = result[3] in _mesa_execute_program()
1367 store_vector4(inst, machine, result); in _mesa_execute_program()
1373 GLfloat a[4], r, result[4]; in _mesa_execute_program() local
1403 result[0] = result[1] = result[2] = result[3] = r; in _mesa_execute_program()
1404 store_vector4(inst, machine, result); in _mesa_execute_program()
1410 GLfloat a[4], result[4]; in _mesa_execute_program() local
1418 result[0] = result[1] = result[2] = result[3] = 1.0F / a[0]; in _mesa_execute_program()
1419 store_vector4(inst, machine, result); in _mesa_execute_program()
1433 GLfloat axis[4], dir[4], result[4], tmpX, tmpW; in _mesa_execute_program() local
1438 result[0] = tmpX * axis[0] - dir[0]; in _mesa_execute_program()
1439 result[1] = tmpX * axis[1] - dir[1]; in _mesa_execute_program()
1440 result[2] = tmpX * axis[2] - dir[2]; in _mesa_execute_program()
1442 store_vector4(inst, machine, result); in _mesa_execute_program()
1447 GLfloat a[4], result[4]; in _mesa_execute_program() local
1450 result[0] = result[1] = result[2] = result[3] = INV_SQRTF(a[0]); in _mesa_execute_program()
1451 store_vector4(inst, machine, result); in _mesa_execute_program()
1453 printf("RSQ %g = 1/sqrt(|%g|)\n", result[0], a[0]); in _mesa_execute_program()
1459 GLfloat a[4], result[4]; in _mesa_execute_program() local
1461 result[0] = (GLfloat) cos(a[0]); in _mesa_execute_program()
1462 result[1] = (GLfloat) sin(a[0]); in _mesa_execute_program()
1463 result[2] = 0.0; /* undefined! */ in _mesa_execute_program()
1464 result[3] = 0.0; /* undefined! */ in _mesa_execute_program()
1465 store_vector4(inst, machine, result); in _mesa_execute_program()
1470 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1473 result[0] = (a[0] == b[0]) ? 1.0F : 0.0F; in _mesa_execute_program()
1474 result[1] = (a[1] == b[1]) ? 1.0F : 0.0F; in _mesa_execute_program()
1475 result[2] = (a[2] == b[2]) ? 1.0F : 0.0F; in _mesa_execute_program()
1476 result[3] = (a[3] == b[3]) ? 1.0F : 0.0F; in _mesa_execute_program()
1477 store_vector4(inst, machine, result); in _mesa_execute_program()
1480 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1488 static const GLfloat result[4] = { 0.0F, 0.0F, 0.0F, 0.0F }; in _mesa_execute_program() local
1489 store_vector4(inst, machine, result); in _mesa_execute_program()
1494 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1497 result[0] = (a[0] >= b[0]) ? 1.0F : 0.0F; in _mesa_execute_program()
1498 result[1] = (a[1] >= b[1]) ? 1.0F : 0.0F; in _mesa_execute_program()
1499 result[2] = (a[2] >= b[2]) ? 1.0F : 0.0F; in _mesa_execute_program()
1500 result[3] = (a[3] >= b[3]) ? 1.0F : 0.0F; in _mesa_execute_program()
1501 store_vector4(inst, machine, result); in _mesa_execute_program()
1504 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1512 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1515 result[0] = (a[0] > b[0]) ? 1.0F : 0.0F; in _mesa_execute_program()
1516 result[1] = (a[1] > b[1]) ? 1.0F : 0.0F; in _mesa_execute_program()
1517 result[2] = (a[2] > b[2]) ? 1.0F : 0.0F; in _mesa_execute_program()
1518 result[3] = (a[3] > b[3]) ? 1.0F : 0.0F; in _mesa_execute_program()
1519 store_vector4(inst, machine, result); in _mesa_execute_program()
1522 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1530 GLfloat a[4], result[4]; in _mesa_execute_program() local
1532 result[0] = result[1] = result[2] = result[3] in _mesa_execute_program()
1534 store_vector4(inst, machine, result); in _mesa_execute_program()
1539 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1542 result[0] = (a[0] <= b[0]) ? 1.0F : 0.0F; in _mesa_execute_program()
1543 result[1] = (a[1] <= b[1]) ? 1.0F : 0.0F; in _mesa_execute_program()
1544 result[2] = (a[2] <= b[2]) ? 1.0F : 0.0F; in _mesa_execute_program()
1545 result[3] = (a[3] <= b[3]) ? 1.0F : 0.0F; in _mesa_execute_program()
1546 store_vector4(inst, machine, result); in _mesa_execute_program()
1549 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1557 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1560 result[0] = (a[0] < b[0]) ? 1.0F : 0.0F; in _mesa_execute_program()
1561 result[1] = (a[1] < b[1]) ? 1.0F : 0.0F; in _mesa_execute_program()
1562 result[2] = (a[2] < b[2]) ? 1.0F : 0.0F; in _mesa_execute_program()
1563 result[3] = (a[3] < b[3]) ? 1.0F : 0.0F; in _mesa_execute_program()
1564 store_vector4(inst, machine, result); in _mesa_execute_program()
1567 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1575 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1578 result[0] = (a[0] != b[0]) ? 1.0F : 0.0F; in _mesa_execute_program()
1579 result[1] = (a[1] != b[1]) ? 1.0F : 0.0F; in _mesa_execute_program()
1580 result[2] = (a[2] != b[2]) ? 1.0F : 0.0F; in _mesa_execute_program()
1581 result[3] = (a[3] != b[3]) ? 1.0F : 0.0F; in _mesa_execute_program()
1582 store_vector4(inst, machine, result); in _mesa_execute_program()
1585 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1593 GLfloat a[4], result[4]; in _mesa_execute_program() local
1595 result[0] = (GLfloat) ((a[0] > 0.0F) - (a[0] < 0.0F)); in _mesa_execute_program()
1596 result[1] = (GLfloat) ((a[1] > 0.0F) - (a[1] < 0.0F)); in _mesa_execute_program()
1597 result[2] = (GLfloat) ((a[2] > 0.0F) - (a[2] < 0.0F)); in _mesa_execute_program()
1598 result[3] = (GLfloat) ((a[3] > 0.0F) - (a[3] < 0.0F)); in _mesa_execute_program()
1599 store_vector4(inst, machine, result); in _mesa_execute_program()
1604 static const GLfloat result[4] = { 1.0F, 1.0F, 1.0F, 1.0F }; in _mesa_execute_program() local
1605 store_vector4(inst, machine, result); in _mesa_execute_program()
1610 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1613 result[0] = a[0] - b[0]; in _mesa_execute_program()
1614 result[1] = a[1] - b[1]; in _mesa_execute_program()
1615 result[2] = a[2] - b[2]; in _mesa_execute_program()
1616 result[3] = a[3] - b[3]; in _mesa_execute_program()
1617 store_vector4(inst, machine, result); in _mesa_execute_program()
1620 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1629 GLfloat result[4]; in _mesa_execute_program() local
1634 result[i] = 0.0; in _mesa_execute_program()
1636 result[i] = 1.0; in _mesa_execute_program()
1640 result[i] = src[swz]; in _mesa_execute_program()
1643 result[i] = -result[i]; in _mesa_execute_program()
1645 store_vector4(inst, machine, result); in _mesa_execute_program()
1772 GLfloat a[4], result[4]; in _mesa_execute_program() local
1774 result[0] = (GLfloat) (GLint) a[0]; in _mesa_execute_program()
1775 result[1] = (GLfloat) (GLint) a[1]; in _mesa_execute_program()
1776 result[2] = (GLfloat) (GLint) a[2]; in _mesa_execute_program()
1777 result[3] = (GLfloat) (GLint) a[3]; in _mesa_execute_program()
1778 store_vector4(inst, machine, result); in _mesa_execute_program()
1784 GLfloat result[4]; in _mesa_execute_program() local
1788 result[0] = result[2] = _mesa_half_to_float(hx); in _mesa_execute_program()
1789 result[1] = result[3] = _mesa_half_to_float(hy); in _mesa_execute_program()
1790 store_vector4(inst, machine, result); in _mesa_execute_program()
1796 GLfloat result[4]; in _mesa_execute_program() local
1800 result[0] = result[2] = usx * (1.0f / 65535.0f); in _mesa_execute_program()
1801 result[1] = result[3] = usy * (1.0f / 65535.0f); in _mesa_execute_program()
1802 store_vector4(inst, machine, result); in _mesa_execute_program()
1808 GLfloat result[4]; in _mesa_execute_program() local
1809 result[0] = (((raw >> 0) & 0xff) - 128) / 127.0F; in _mesa_execute_program()
1810 result[1] = (((raw >> 8) & 0xff) - 128) / 127.0F; in _mesa_execute_program()
1811 result[2] = (((raw >> 16) & 0xff) - 128) / 127.0F; in _mesa_execute_program()
1812 result[3] = (((raw >> 24) & 0xff) - 128) / 127.0F; in _mesa_execute_program()
1813 store_vector4(inst, machine, result); in _mesa_execute_program()
1819 GLfloat result[4]; in _mesa_execute_program() local
1820 result[0] = ((raw >> 0) & 0xff) / 255.0F; in _mesa_execute_program()
1821 result[1] = ((raw >> 8) & 0xff) / 255.0F; in _mesa_execute_program()
1822 result[2] = ((raw >> 16) & 0xff) / 255.0F; in _mesa_execute_program()
1823 result[3] = ((raw >> 24) & 0xff) / 255.0F; in _mesa_execute_program()
1824 store_vector4(inst, machine, result); in _mesa_execute_program()
1829 GLuint a[4], b[4], result[4]; in _mesa_execute_program() local
1832 result[0] = a[0] ^ b[0]; in _mesa_execute_program()
1833 result[1] = a[1] ^ b[1]; in _mesa_execute_program()
1834 result[2] = a[2] ^ b[2]; in _mesa_execute_program()
1835 result[3] = a[3] ^ b[3]; in _mesa_execute_program()
1836 store_vector4ui(inst, machine, result); in _mesa_execute_program()
1841 GLfloat a[4], b[4], result[4]; in _mesa_execute_program() local
1844 result[0] = a[1] * b[2] - a[2] * b[1]; in _mesa_execute_program()
1845 result[1] = a[2] * b[0] - a[0] * b[2]; in _mesa_execute_program()
1846 result[2] = a[0] * b[1] - a[1] * b[0]; in _mesa_execute_program()
1847 result[3] = 1.0; in _mesa_execute_program()
1848 store_vector4(inst, machine, result); in _mesa_execute_program()
1851 result[0], result[1], result[2], result[3], in _mesa_execute_program()
1858 GLfloat a[4], b[4], c[4], result[4]; in _mesa_execute_program() local
1862 result[0] = a[0] + b[0] * c[0] + b[1] * c[1]; in _mesa_execute_program()
1863 result[1] = a[1] + b[0] * c[2] + b[1] * c[3]; in _mesa_execute_program()
1864 result[2] = a[2] + b[0] * c[0] + b[1] * c[1]; in _mesa_execute_program()
1865 result[3] = a[3] + b[0] * c[2] + b[1] * c[3]; in _mesa_execute_program()
1866 store_vector4(inst, machine, result); in _mesa_execute_program()