Searched refs:new_inst (Results 1 - 20 of 20) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_lowering.c135 struct tgsi_full_instruction new_inst; local in function:create_mov
137 new_inst = tgsi_default_full_instruction();
138 new_inst.Instruction.Opcode = TGSI_OPCODE_MOV;
139 new_inst.Instruction.Saturate = saturate;
140 new_inst.Instruction.NumDstRegs = 1;
141 reg_dst(&new_inst.Dst[0], dst, mask);
142 new_inst.Instruction.NumSrcRegs = 1;
143 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, Z, W));
144 tctx->emit_instruction(tctx, &new_inst);
203 struct tgsi_full_instruction new_inst; local in function:transform_dst
285 struct tgsi_full_instruction new_inst; local in function:transform_lrp
333 struct tgsi_full_instruction new_inst; local in function:transform_frc
379 struct tgsi_full_instruction new_inst; local in function:transform_pow
438 struct tgsi_full_instruction new_inst; local in function:transform_lit
563 struct tgsi_full_instruction new_inst; local in function:transform_exp
686 struct tgsi_full_instruction new_inst; local in function:transform_log
825 struct tgsi_full_instruction new_inst; local in function:transform_dotp
910 struct tgsi_full_instruction new_inst; local in function:transform_flr_ceil
964 struct tgsi_full_instruction new_inst; local in function:transform_trunc
1037 struct tgsi_full_instruction new_inst; local in function:transform_samp
1171 struct tgsi_full_instruction new_inst; local in function:emit_twoside
[all...]
H A Dtgsi_emulate.c66 struct tgsi_full_instruction new_inst; local in function:passthrough_edgeflag
84 new_inst = tgsi_default_full_instruction();
85 new_inst.Instruction.Opcode = TGSI_OPCODE_MOV;
87 new_inst.Instruction.NumDstRegs = 1;
88 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT;
89 new_inst.Dst[0].Register.Index = ctx->info.num_outputs;
90 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW;
92 new_inst.Instruction.NumSrcRegs = 1;
93 new_inst.Src[0].Register.File = TGSI_FILE_INPUT;
94 new_inst
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_lowering.c136 struct tgsi_full_instruction new_inst; local in function:create_mov
138 new_inst = tgsi_default_full_instruction();
139 new_inst.Instruction.Opcode = TGSI_OPCODE_MOV;
140 new_inst.Instruction.Saturate = saturate;
141 new_inst.Instruction.NumDstRegs = 1;
142 reg_dst(&new_inst.Dst[0], dst, mask);
143 new_inst.Instruction.NumSrcRegs = 1;
144 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, Z, W));
145 tctx->emit_instruction(tctx, &new_inst);
204 struct tgsi_full_instruction new_inst; local in function:transform_dst
286 struct tgsi_full_instruction new_inst; local in function:transform_lrp
334 struct tgsi_full_instruction new_inst; local in function:transform_frc
380 struct tgsi_full_instruction new_inst; local in function:transform_pow
439 struct tgsi_full_instruction new_inst; local in function:transform_lit
564 struct tgsi_full_instruction new_inst; local in function:transform_exp
687 struct tgsi_full_instruction new_inst; local in function:transform_log
826 struct tgsi_full_instruction new_inst; local in function:transform_dotp
911 struct tgsi_full_instruction new_inst; local in function:transform_flr_ceil
965 struct tgsi_full_instruction new_inst; local in function:transform_trunc
1038 struct tgsi_full_instruction new_inst; local in function:transform_samp
1172 struct tgsi_full_instruction new_inst; local in function:emit_twoside
[all...]
H A Dtgsi_emulate.c66 struct tgsi_full_instruction new_inst; local in function:passthrough_edgeflag
84 new_inst = tgsi_default_full_instruction();
85 new_inst.Instruction.Opcode = TGSI_OPCODE_MOV;
87 new_inst.Instruction.NumDstRegs = 1;
88 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT;
89 new_inst.Dst[0].Register.Index = ctx->info.num_outputs;
90 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW;
92 new_inst.Instruction.NumSrcRegs = 1;
93 new_inst.Src[0].Register.File = TGSI_FILE_INPUT;
94 new_inst
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_vs_draw.c226 struct tgsi_full_instruction new_inst; local in function:transform_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
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_vs_draw.c226 struct tgsi_full_instruction new_inst; local in function:transform_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
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_vert_fc.c111 struct rc_instruction * new_inst = local in function:lower_bgnloop
129 new_inst->U.I.Opcode = RC_ME_PRED_SEQ;
130 build_pred_dst(&new_inst->U.I.DstReg, fc_state);
131 new_inst->U.I.SrcReg[0].Index = 0;
132 new_inst->U.I.SrcReg[0].File = RC_FILE_NONE;
133 new_inst->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_0000;
141 build_pred_src(&new_inst->U.I.SrcReg[0], fc_state);
149 new_inst->U.I.Opcode = RC_OPCODE_ADD;
150 build_pred_dst(&new_inst->U.I.DstReg, fc_state);
151 new_inst
180 struct rc_instruction * new_inst = local in function:lower_endloop
[all...]
H A Dr3xx_vertprog.c681 struct rc_instruction *new_inst; local in function:transform_nonnative_modifiers
688 new_inst = rc_insert_new_instruction(c, inst->Prev);
689 new_inst->U.I.Opcode = RC_OPCODE_MAX;
690 new_inst->U.I.DstReg.File = RC_FILE_TEMPORARY;
691 new_inst->U.I.DstReg.Index = temp;
692 new_inst->U.I.SrcReg[0] = inst->U.I.SrcReg[i];
693 new_inst->U.I.SrcReg[1] = inst->U.I.SrcReg[i];
694 new_inst->U.I.SrcReg[1].Negate ^= RC_MASK_XYZW;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_vert_fc.c111 struct rc_instruction * new_inst = local in function:lower_bgnloop
129 new_inst->U.I.Opcode = RC_ME_PRED_SEQ;
130 build_pred_dst(&new_inst->U.I.DstReg, fc_state);
131 new_inst->U.I.SrcReg[0].Index = 0;
132 new_inst->U.I.SrcReg[0].File = RC_FILE_NONE;
133 new_inst->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_0000;
141 build_pred_src(&new_inst->U.I.SrcReg[0], fc_state);
149 new_inst->U.I.Opcode = RC_OPCODE_ADD;
150 build_pred_dst(&new_inst->U.I.DstReg, fc_state);
151 new_inst
180 struct rc_instruction * new_inst = local in function:lower_endloop
[all...]
H A Dr3xx_vertprog.c691 struct rc_instruction *new_inst; local in function:transform_nonnative_modifiers
698 new_inst = rc_insert_new_instruction(c, inst->Prev);
699 new_inst->U.I.Opcode = RC_OPCODE_MAX;
700 new_inst->U.I.DstReg.File = RC_FILE_TEMPORARY;
701 new_inst->U.I.DstReg.Index = temp;
702 new_inst->U.I.SrcReg[0] = inst->U.I.SrcReg[i];
703 new_inst->U.I.SrcReg[1] = inst->U.I.SrcReg[i];
704 new_inst->U.I.SrcReg[1].Negate ^= RC_MASK_XYZW;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c460 struct rc_instruction * new_inst = local in function:add_instruction
463 parse_rc_normal_instruction(new_inst, inst_string);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c460 struct rc_instruction * new_inst = local in function:add_instruction
463 parse_rc_normal_instruction(new_inst, inst_string);
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_vec4.h184 vec4_instruction *new_inst);
H A Dbrw_vec4_visitor.cpp78 vec4_instruction *new_inst)
80 new_inst->ir = inst->ir;
81 new_inst->annotation = inst->annotation;
83 inst->insert_before(block, new_inst);
77 emit_before(bblock_t * block,vec4_instruction * inst,vec4_instruction * new_inst) argument
H A Dbrw_fs_nir.cpp1958 fs_inst *new_inst = new(mem_ctx) fs_inst(inst); local in function:fs_visitor::emit_percomp
1959 new_inst->dst = offset(new_inst->dst, bld, i);
1960 for (unsigned j = 0; j < new_inst->sources; j++)
1961 if (new_inst->src[j].file == VGRF)
1962 new_inst->src[j] = offset(new_inst->src[j], bld, i);
1964 bld.emit(new_inst);
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_vec4.h184 vec4_instruction *new_inst);
H A Dbrw_vec4_visitor.cpp78 vec4_instruction *new_inst)
80 new_inst->ir = inst->ir;
81 new_inst->annotation = inst->annotation;
83 inst->insert_before(block, new_inst);
77 emit_before(bblock_t * block,vec4_instruction * inst,vec4_instruction * new_inst) argument
H A Dbrw_fs_nir.cpp2139 fs_inst *new_inst = new(mem_ctx) fs_inst(inst); local in function:fs_visitor::emit_percomp
2140 new_inst->dst = offset(new_inst->dst, bld, i);
2141 for (unsigned j = 0; j < new_inst->sources; j++)
2142 if (new_inst->src[j].file == VGRF)
2143 new_inst->src[j] = offset(new_inst->src[j], bld, i);
2145 bld.emit(new_inst);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi.cpp3183 glsl_to_tgsi_instruction *inst, *new_inst; local in function:glsl_to_tgsi_visitor::visit
3185 new_inst = emit_asm(ir, inst->op, l, inst->src[0], inst->src[1], inst->src[2], inst->src[3]);
3186 new_inst->saturate = inst->saturate;
3187 new_inst->resource = inst->resource;
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi.cpp3274 glsl_to_tgsi_instruction *inst, *new_inst; local in function:glsl_to_tgsi_visitor::visit
3276 new_inst = emit_asm(ir, inst->op, l, inst->src[0], inst->src[1], inst->src[2], inst->src[3]);
3277 new_inst->saturate = inst->saturate;
3278 new_inst->resource = inst->resource;

Completed in 53 milliseconds