Home
last modified time | relevance | path

Searched refs:new_inst (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
Dr300_vs_draw.c226 struct tgsi_full_instruction new_inst; in transform_inst() local
248 new_inst = tgsi_default_full_instruction(); in transform_inst()
249 new_inst.Instruction.Opcode = TGSI_OPCODE_MOV; in transform_inst()
250 new_inst.Instruction.NumDstRegs = 1; in transform_inst()
251 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT; in transform_inst()
252 new_inst.Dst[0].Register.Index = vsctx->pos_output; in transform_inst()
253 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW; in transform_inst()
254 new_inst.Instruction.NumSrcRegs = 1; in transform_inst()
255 new_inst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in transform_inst()
256 new_inst.Src[0].Register.Index = vsctx->pos_temp; in transform_inst()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
Dr300_vs_draw.c226 struct tgsi_full_instruction new_inst; in transform_inst() local
248 new_inst = tgsi_default_full_instruction(); in transform_inst()
249 new_inst.Instruction.Opcode = TGSI_OPCODE_MOV; in transform_inst()
250 new_inst.Instruction.NumDstRegs = 1; in transform_inst()
251 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT; in transform_inst()
252 new_inst.Dst[0].Register.Index = vsctx->pos_output; in transform_inst()
253 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW; in transform_inst()
254 new_inst.Instruction.NumSrcRegs = 1; in transform_inst()
255 new_inst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in transform_inst()
256 new_inst.Src[0].Register.Index = vsctx->pos_temp; in transform_inst()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_vert_fc.c87 struct rc_instruction * new_inst = in lower_bgnloop() local
105 new_inst->U.I.Opcode = RC_ME_PRED_SEQ; in lower_bgnloop()
106 build_pred_dst(&new_inst->U.I.DstReg, fc_state); in lower_bgnloop()
107 new_inst->U.I.SrcReg[0].Index = 0; in lower_bgnloop()
108 new_inst->U.I.SrcReg[0].File = RC_FILE_NONE; in lower_bgnloop()
109 new_inst->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_0000; in lower_bgnloop()
117 build_pred_src(&new_inst->U.I.SrcReg[0], fc_state); in lower_bgnloop()
125 new_inst->U.I.Opcode = RC_OPCODE_ADD; in lower_bgnloop()
126 build_pred_dst(&new_inst->U.I.DstReg, fc_state); in lower_bgnloop()
127 new_inst->U.I.SrcReg[1].Index = 0; in lower_bgnloop()
[all …]
Dr3xx_vertprog.c673 struct rc_instruction *new_inst; in transform_nonnative_modifiers() local
680 new_inst = rc_insert_new_instruction(c, inst->Prev); in transform_nonnative_modifiers()
681 new_inst->U.I.Opcode = RC_OPCODE_MAX; in transform_nonnative_modifiers()
682 new_inst->U.I.DstReg.File = RC_FILE_TEMPORARY; in transform_nonnative_modifiers()
683 new_inst->U.I.DstReg.Index = temp; in transform_nonnative_modifiers()
684 new_inst->U.I.SrcReg[0] = inst->U.I.SrcReg[i]; in transform_nonnative_modifiers()
685 new_inst->U.I.SrcReg[1] = inst->U.I.SrcReg[i]; in transform_nonnative_modifiers()
686 new_inst->U.I.SrcReg[1].Negate ^= RC_MASK_XYZW; in transform_nonnative_modifiers()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
Dradeon_vert_fc.c87 struct rc_instruction * new_inst = in lower_bgnloop() local
105 new_inst->U.I.Opcode = RC_ME_PRED_SEQ; in lower_bgnloop()
106 build_pred_dst(&new_inst->U.I.DstReg, fc_state); in lower_bgnloop()
107 new_inst->U.I.SrcReg[0].Index = 0; in lower_bgnloop()
108 new_inst->U.I.SrcReg[0].File = RC_FILE_NONE; in lower_bgnloop()
109 new_inst->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_0000; in lower_bgnloop()
117 build_pred_src(&new_inst->U.I.SrcReg[0], fc_state); in lower_bgnloop()
125 new_inst->U.I.Opcode = RC_OPCODE_ADD; in lower_bgnloop()
126 build_pred_dst(&new_inst->U.I.DstReg, fc_state); in lower_bgnloop()
127 new_inst->U.I.SrcReg[1].Index = 0; in lower_bgnloop()
[all …]
Dr3xx_vertprog.c673 struct rc_instruction *new_inst; in transform_nonnative_modifiers() local
680 new_inst = rc_insert_new_instruction(c, inst->Prev); in transform_nonnative_modifiers()
681 new_inst->U.I.Opcode = RC_OPCODE_MAX; in transform_nonnative_modifiers()
682 new_inst->U.I.DstReg.File = RC_FILE_TEMPORARY; in transform_nonnative_modifiers()
683 new_inst->U.I.DstReg.Index = temp; in transform_nonnative_modifiers()
684 new_inst->U.I.SrcReg[0] = inst->U.I.SrcReg[i]; in transform_nonnative_modifiers()
685 new_inst->U.I.SrcReg[1] = inst->U.I.SrcReg[i]; in transform_nonnative_modifiers()
686 new_inst->U.I.SrcReg[1].Negate ^= RC_MASK_XYZW; in transform_nonnative_modifiers()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vec4.h345 vec4_instruction *new_inst);
Dbrw_vec4_visitor.cpp55 vec4_visitor::emit_before(vec4_instruction *inst, vec4_instruction *new_inst) in emit_before() argument
57 new_inst->ir = inst->ir; in emit_before()
58 new_inst->annotation = inst->annotation; in emit_before()
60 inst->insert_before(new_inst); in emit_before()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_vec4.h345 vec4_instruction *new_inst);
Dbrw_vec4_visitor.cpp55 vec4_visitor::emit_before(vec4_instruction *inst, vec4_instruction *new_inst) in emit_before() argument
57 new_inst->ir = inst->ir; in emit_before()
58 new_inst->annotation = inst->annotation; in emit_before()
60 inst->insert_before(new_inst); in emit_before()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp1298 glsl_to_tgsi_instruction *new_inst; in try_emit_sat() local
1299 new_inst = (glsl_to_tgsi_instruction *)this->instructions.get_tail(); in try_emit_sat()
1300 new_inst->saturate = true; in try_emit_sat()
2295 glsl_to_tgsi_instruction *inst, *new_inst; in visit() local
2297 new_inst = emit(ir, inst->op, l, inst->src[0], inst->src[1], inst->src[2]); in visit()
2298 new_inst->saturate = inst->saturate; in visit()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp1298 glsl_to_tgsi_instruction *new_inst; in try_emit_sat() local
1299 new_inst = (glsl_to_tgsi_instruction *)this->instructions.get_tail(); in try_emit_sat()
1300 new_inst->saturate = true; in try_emit_sat()
2295 glsl_to_tgsi_instruction *inst, *new_inst; in visit() local
2297 new_inst = emit(ir, inst->op, l, inst->src[0], inst->src[1], inst->src[2]); in visit()
2298 new_inst->saturate = inst->saturate; in visit()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp938 ir_to_mesa_instruction *new_inst; in try_emit_sat() local
939 new_inst = (ir_to_mesa_instruction *)this->instructions.get_tail(); in try_emit_sat()
943 new_inst->saturate = true; in try_emit_sat()
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dir_to_mesa.cpp938 ir_to_mesa_instruction *new_inst; in try_emit_sat() local
939 new_inst = (ir_to_mesa_instruction *)this->instructions.get_tail(); in try_emit_sat()
943 new_inst->saturate = true; in try_emit_sat()