Lines Matching refs:SrcReg
94 newInst[i].SrcReg[0].File = PROGRAM_STATE_VAR;
95 newInst[i].SrcReg[0].Index = mvpRef[i];
96 newInst[i].SrcReg[0].Swizzle = SWIZZLE_NOOP;
97 newInst[i].SrcReg[1].File = PROGRAM_INPUT;
98 newInst[i].SrcReg[1].Index = VERT_ATTRIB_POS;
99 newInst[i].SrcReg[1].Swizzle = SWIZZLE_NOOP;
166 newInst[0].SrcReg[0].File = PROGRAM_INPUT;
167 newInst[0].SrcReg[0].Index = VERT_ATTRIB_POS;
168 newInst[0].SrcReg[0].Swizzle = SWIZZLE_XXXX;
169 newInst[0].SrcReg[1].File = PROGRAM_STATE_VAR;
170 newInst[0].SrcReg[1].Index = mvpRef[0];
171 newInst[0].SrcReg[1].Swizzle = SWIZZLE_NOOP;
178 newInst[i].SrcReg[0].File = PROGRAM_INPUT;
179 newInst[i].SrcReg[0].Index = VERT_ATTRIB_POS;
180 newInst[i].SrcReg[0].Swizzle = MAKE_SWIZZLE4(i,i,i,i);
181 newInst[i].SrcReg[1].File = PROGRAM_STATE_VAR;
182 newInst[i].SrcReg[1].Index = mvpRef[i];
183 newInst[i].SrcReg[1].Swizzle = SWIZZLE_NOOP;
184 newInst[i].SrcReg[2].File = PROGRAM_TEMPORARY;
185 newInst[i].SrcReg[2].Index = hposTemp;
186 newInst[1].SrcReg[2].Swizzle = SWIZZLE_NOOP;
193 newInst[3].SrcReg[0].File = PROGRAM_INPUT;
194 newInst[3].SrcReg[0].Index = VERT_ATTRIB_POS;
195 newInst[3].SrcReg[0].Swizzle = SWIZZLE_WWWW;
196 newInst[3].SrcReg[1].File = PROGRAM_STATE_VAR;
197 newInst[3].SrcReg[1].Index = mvpRef[3];
198 newInst[3].SrcReg[1].Swizzle = SWIZZLE_NOOP;
199 newInst[3].SrcReg[2].File = PROGRAM_TEMPORARY;
200 newInst[3].SrcReg[2].Index = hposTemp;
201 newInst[3].SrcReg[2].Swizzle = SWIZZLE_NOOP;
325 inst->SrcReg[0].File = PROGRAM_INPUT;
326 inst->SrcReg[0].Index = FRAG_ATTRIB_FOGC;
327 inst->SrcReg[0].Swizzle = SWIZZLE_XXXX;
328 inst->SrcReg[1].File = PROGRAM_STATE_VAR;
329 inst->SrcReg[1].Index = fogPRefOpt;
330 inst->SrcReg[1].Swizzle = SWIZZLE_XXXX;
331 inst->SrcReg[2].File = PROGRAM_STATE_VAR;
332 inst->SrcReg[2].Index = fogPRefOpt;
333 inst->SrcReg[2].Swizzle = SWIZZLE_YYYY;
346 inst->SrcReg[0].File = PROGRAM_STATE_VAR;
347 inst->SrcReg[0].Index = fogPRefOpt;
348 inst->SrcReg[0].Swizzle
350 inst->SrcReg[1].File = PROGRAM_INPUT;
351 inst->SrcReg[1].Index = FRAG_ATTRIB_FOGC;
352 inst->SrcReg[1].Swizzle = SWIZZLE_XXXX;
360 inst->SrcReg[0].File = PROGRAM_TEMPORARY;
361 inst->SrcReg[0].Index = fogFactorTemp;
362 inst->SrcReg[0].Swizzle = SWIZZLE_XXXX;
363 inst->SrcReg[1].File = PROGRAM_TEMPORARY;
364 inst->SrcReg[1].Index = fogFactorTemp;
365 inst->SrcReg[1].Swizzle = SWIZZLE_XXXX;
373 inst->SrcReg[0].File = PROGRAM_TEMPORARY;
374 inst->SrcReg[0].Index = fogFactorTemp;
375 inst->SrcReg[0].Negate = NEGATE_XYZW;
376 inst->SrcReg[0].Swizzle = SWIZZLE_XXXX;
385 inst->SrcReg[0].File = PROGRAM_TEMPORARY;
386 inst->SrcReg[0].Index = fogFactorTemp;
387 inst->SrcReg[0].Swizzle = SWIZZLE_XXXX;
388 inst->SrcReg[1].File = PROGRAM_TEMPORARY;
389 inst->SrcReg[1].Index = colorTemp;
390 inst->SrcReg[1].Swizzle = SWIZZLE_NOOP;
391 inst->SrcReg[2].File = PROGRAM_STATE_VAR;
392 inst->SrcReg[2].Index = fogColorRef;
393 inst->SrcReg[2].Swizzle = SWIZZLE_NOOP;
400 inst->SrcReg[0].File = PROGRAM_TEMPORARY;
401 inst->SrcReg[0].Index = colorTemp;
402 inst->SrcReg[0].Swizzle = SWIZZLE_NOOP;
456 if (((inst->SrcReg[0].File == PROGRAM_TEMPORARY) &&
457 (tempsOutput & (1 << inst->SrcReg
470 if (inst->SrcReg[j].File == PROGRAM_TEMPORARY)
471 aluTemps |= (1 << inst->SrcReg[j].Index);
532 if (inst->SrcReg[j].File == type) {
534 const GLuint var = inst->SrcReg[j].Index;
542 inst->SrcReg[j].File = PROGRAM_TEMPORARY;
543 inst->SrcReg[j].Index = outputMap[var];
588 inst->SrcReg[0].File = PROGRAM_TEMPORARY;
589 inst->SrcReg[0].Index = outputMap[var];
620 inst[0].SrcReg[0].File = PROGRAM_INPUT;
625 inst[0].SrcReg[0].Index = inputAttr;
664 inst[0].SrcReg[0].File = PROGRAM_INPUT;
669 inst[0].SrcReg[0].Index = inputAttr;