Lines Matching refs:DstReg
90 newInst[i].DstReg.File = PROGRAM_OUTPUT; in insert_mvp_dp4_code()
91 newInst[i].DstReg.Index = VARYING_SLOT_POS; in insert_mvp_dp4_code()
92 newInst[i].DstReg.WriteMask = (WRITEMASK_X << i); in insert_mvp_dp4_code()
161 newInst[0].DstReg.File = PROGRAM_TEMPORARY; in insert_mvp_mad_code()
162 newInst[0].DstReg.Index = hposTemp; in insert_mvp_mad_code()
163 newInst[0].DstReg.WriteMask = WRITEMASK_XYZW; in insert_mvp_mad_code()
173 newInst[i].DstReg.File = PROGRAM_TEMPORARY; in insert_mvp_mad_code()
174 newInst[i].DstReg.Index = hposTemp; in insert_mvp_mad_code()
175 newInst[i].DstReg.WriteMask = WRITEMASK_XYZW; in insert_mvp_mad_code()
188 newInst[3].DstReg.File = PROGRAM_OUTPUT; in insert_mvp_mad_code()
189 newInst[3].DstReg.Index = VARYING_SLOT_POS; in insert_mvp_mad_code()
190 newInst[3].DstReg.WriteMask = WRITEMASK_XYZW; in insert_mvp_mad_code()
300 if (inst->DstReg.File == PROGRAM_OUTPUT && in _mesa_append_fog_code()
301 inst->DstReg.Index == FRAG_RESULT_COLOR) { in _mesa_append_fog_code()
303 inst->DstReg.File = PROGRAM_TEMPORARY; in _mesa_append_fog_code()
304 inst->DstReg.Index = colorTemp; in _mesa_append_fog_code()
319 inst->DstReg.File = PROGRAM_TEMPORARY; in _mesa_append_fog_code()
320 inst->DstReg.Index = fogFactorTemp; in _mesa_append_fog_code()
321 inst->DstReg.WriteMask = WRITEMASK_X; in _mesa_append_fog_code()
340 inst->DstReg.File = PROGRAM_TEMPORARY; in _mesa_append_fog_code()
341 inst->DstReg.Index = fogFactorTemp; in _mesa_append_fog_code()
342 inst->DstReg.WriteMask = WRITEMASK_X; in _mesa_append_fog_code()
354 inst->DstReg.File = PROGRAM_TEMPORARY; in _mesa_append_fog_code()
355 inst->DstReg.Index = fogFactorTemp; in _mesa_append_fog_code()
356 inst->DstReg.WriteMask = WRITEMASK_X; in _mesa_append_fog_code()
367 inst->DstReg.File = PROGRAM_TEMPORARY; in _mesa_append_fog_code()
368 inst->DstReg.Index = fogFactorTemp; in _mesa_append_fog_code()
369 inst->DstReg.WriteMask = WRITEMASK_X; in _mesa_append_fog_code()
379 inst->DstReg.File = PROGRAM_OUTPUT; in _mesa_append_fog_code()
380 inst->DstReg.Index = FRAG_RESULT_COLOR; in _mesa_append_fog_code()
381 inst->DstReg.WriteMask = WRITEMASK_XYZ; in _mesa_append_fog_code()
394 inst->DstReg.File = PROGRAM_OUTPUT; in _mesa_append_fog_code()
395 inst->DstReg.Index = FRAG_RESULT_COLOR; in _mesa_append_fog_code()
396 inst->DstReg.WriteMask = WRITEMASK_W; in _mesa_append_fog_code()
455 (inst->DstReg.File == PROGRAM_TEMPORARY) && in _mesa_count_texture_indirections()
456 (aluTemps & (1 << inst->DstReg.Index)))) in _mesa_count_texture_indirections()
469 if (inst->DstReg.File == PROGRAM_TEMPORARY) in _mesa_count_texture_indirections()
470 aluTemps |= (1 << inst->DstReg.Index); in _mesa_count_texture_indirections()
473 if ((inst->Opcode != OPCODE_KIL) && (inst->DstReg.File == PROGRAM_TEMPORARY)) in _mesa_count_texture_indirections()
474 tempsOutput |= (1 << inst->DstReg.Index); in _mesa_count_texture_indirections()
548 if (inst->DstReg.File == type && in _mesa_remove_output_reads()
549 outputMap[inst->DstReg.Index] >= 0) { in _mesa_remove_output_reads()
551 inst->DstReg.File = PROGRAM_TEMPORARY; in _mesa_remove_output_reads()
552 inst->DstReg.Index = outputMap[inst->DstReg.Index]; in _mesa_remove_output_reads()
580 inst->DstReg.File = type; in _mesa_remove_output_reads()
581 inst->DstReg.Index = var; in _mesa_remove_output_reads()