Home | History | Annotate | Download | only in r300

Lines Matching defs:new_inst

226     struct tgsi_full_instruction new_inst;
248 new_inst = tgsi_default_full_instruction();
249 new_inst.Instruction.Opcode = TGSI_OPCODE_MOV;
250 new_inst.Instruction.NumDstRegs = 1;
251 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT;
252 new_inst.Dst[0].Register.Index = vsctx->pos_output;
253 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW;
254 new_inst.Instruction.NumSrcRegs = 1;
255 new_inst.Src[0].Register.File = TGSI_FILE_TEMPORARY;
256 new_inst.Src[0].Register.Index = vsctx->pos_temp;
257 ctx->emit_instruction(ctx, &new_inst);
260 new_inst = tgsi_default_full_instruction();
261 new_inst.Instruction.Opcode = TGSI_OPCODE_MOV;
262 new_inst.Instruction.NumDstRegs = 1;
263 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT;
264 new_inst.Dst[0].Register.Index = vsctx->num_outputs - 1;
265 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW;
266 new_inst.Instruction.NumSrcRegs = 1;
267 new_inst.Src[0].Register.File = TGSI_FILE_TEMPORARY;
268 new_inst.Src[0].Register.Index = vsctx->pos_temp;
269 ctx->emit_instruction(ctx, &new_inst);