Lines Matching refs:SrcReg

117       const GLuint coord = GET_SWZ(inst->SrcReg[arg].Swizzle, comp);
144 src_comp = GET_SWZ(mov->SrcReg[0].Swizzle, comp);
228 if (inst->SrcReg[j].File == file) {
229 GLuint index = inst->SrcReg[j].Index;
231 inst->SrcReg[j].Index = map[index];
274 if (inst->SrcReg[j].File == PROGRAM_TEMPORARY) {
275 const GLuint index = inst->SrcReg[j].Index;
280 if (inst->SrcReg[j].RelAddr) {
287 const GLuint swz = GET_SWZ(inst->SrcReg[j].Swizzle, comp);
412 if (inst->SrcReg[j].RelAddr ||
413 (inst->SrcReg[j].File == PROGRAM_TEMPORARY &&
414 inst->SrcReg[j].Index == index &&
469 mov->SrcReg[0].RelAddr == 0 &&
470 mov->SrcReg[0].Negate == 0 &&
471 mov->SrcReg[0].Abs == 0 &&
472 mov->SrcReg[0].HasIndex2 == 0 &&
473 mov->SrcReg[0].RelAddr2 == 0 &&
541 if (inst2->SrcReg[arg].File != mov->DstReg.File ||
542 inst2->SrcReg[arg].Index != mov->DstReg.Index ||
543 inst2->SrcReg[arg].RelAddr ||
544 inst2->SrcReg[arg].Abs)
551 if (is_swizzle_regular(inst2->SrcReg[arg].Swizzle) &&
555 GET_SWZ(inst2->SrcReg[arg].Swizzle, comp);
556 const GLuint s = GET_SWZ(mov->SrcReg[0].Swizzle, inst2_swz);
557 inst2->SrcReg[arg].Swizzle &= ~(7 << (3 * comp));
558 inst2->SrcReg[arg].Swizzle |= s << (3 * comp);
559 inst2->SrcReg[arg].Negate ^= (((mov->SrcReg[0].Negate >>
562 inst2->SrcReg[arg].File = mov->SrcReg[0].File;
563 inst2->SrcReg[arg].Index = mov->SrcReg[0].Index;
578 if (inst2->DstReg.File == mov->SrcReg[0].File &&
580 inst2->DstReg.Index == mov->SrcReg[0].Index)) {
620 if (inst->SrcReg[arg].RelAddr)
682 const GLuint src_comp = GET_SWZ(mov->SrcReg[0].Swizzle, dst_comp);
690 const GLuint arg_swz = inst->SrcReg[arg].Swizzle;
691 inst->SrcReg[arg].Swizzle = 0;
702 inst->SrcReg[arg].Swizzle |= arg_comp << (3*dst_comp);
725 if (mov->SrcReg[0].Swizzle != SWIZZLE_XYZW ||
776 mov->SrcReg[0].File == PROGRAM_TEMPORARY &&
781 const GLuint id = mov->SrcReg[0].Index;
1021 if (inst->SrcReg[j].File == PROGRAM_TEMPORARY) {
1022 const GLuint index = inst->SrcReg[j].Index;
1023 if (inst->SrcReg[j].RelAddr)
1318 && inst->SrcReg[2].File == inst->DstReg.File
1319 && inst->SrcReg[2].Index == inst->DstReg.Index
1323 inst->SrcReg[0] = inst->SrcReg[1];
1329 inst->SrcReg[1].File = PROGRAM_UNDEFINED;
1330 inst->SrcReg[1].Swizzle = SWIZZLE_NOOP;
1331 inst->SrcReg[2].File = PROGRAM_UNDEFINED;
1332 inst->SrcReg[2].Swizzle = SWIZZLE_NOOP;