Lines Matching refs:Index
229 GLuint index = inst->SrcReg[j].Index;
230 ASSERT(map[index] >= 0);
231 inst->SrcReg[j].Index = map[index];
235 const GLuint index = inst->DstReg.Index;
236 ASSERT(map[index] >= 0);
237 inst->DstReg.Index = map[index];
275 const GLuint index = inst->SrcReg[j].Index;
277 ASSERT(index < REG_ALLOCATE_MAX_PROGRAM_TEMPS);
292 tempRead[index][swz] = GL_TRUE;
299 const GLuint index = inst->DstReg.Index;
300 ASSERT(index < REG_ALLOCATE_MAX_PROGRAM_TEMPS);
313 tempRead[index][0] = GL_TRUE;
314 tempRead[index][1] = GL_TRUE;
315 tempRead[index][2] = GL_TRUE;
316 tempRead[index][3] = GL_TRUE;
327 GLint chan, index = inst->DstReg.Index;
330 if (!tempRead[index][chan] &&
376 * Scan forward in program from 'start' for the next occurances of TEMP[index].
385 GLuint index,
414 inst->SrcReg[j].Index == index &&
420 inst->DstReg.Index == index) {
542 inst2->SrcReg[arg].Index != mov->DstReg.Index ||
563 inst2->SrcReg[arg].Index = mov->SrcReg[0].Index;
572 inst2->DstReg.Index == mov->DstReg.Index)) {
580 inst2->DstReg.Index == mov->SrcReg[0].Index)) {
612 const GLuint index = inst->DstReg.Index;
629 use = find_next_use(prog, i+1, index, mask);
781 const GLuint id = mov->SrcReg[0].Index;
792 prevInst->DstReg.Index == id &&
842 GLuint Reg; /** The temporary register index */
944 * Update the intermediate interval info for register 'index' and
950 GLuint index, GLuint ic)
960 if (intBegin[index] < loopStack[i].Start) {
974 ASSERT(index < REG_ALLOCATE_MAX_PROGRAM_TEMPS);
975 if (intBegin[index] == -1) {
976 ASSERT(intEnd[index] == -1);
977 intBegin[index] = begin;
978 intEnd[index] = end;
981 intEnd[index] = end;
1022 const GLuint index = inst->SrcReg[j].Index;
1026 index, i);
1030 const GLuint index = inst->DstReg.Index;
1034 index, i);
1302 assert(inst->DstReg.Index < MAX_PROGRAM_OUTPUTS);
1303 prevWriteMask = outputWrites[inst->DstReg.Index];
1304 outputWrites[inst->DstReg.Index] |= inst->DstReg.WriteMask;
1306 assert(inst->DstReg.Index < REG_ALLOCATE_MAX_PROGRAM_TEMPS);
1307 prevWriteMask = tempWrites[inst->DstReg.Index];
1308 tempWrites[inst->DstReg.Index] |= inst->DstReg.WriteMask;
1319 && inst->SrcReg[2].Index == inst->DstReg.Index