Searched refs:newInst (Results 1 – 11 of 11) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 173 struct tgsi_full_instruction newInst; in aa_transform_inst() local 240 newInst = tgsi_default_full_instruction(); in aa_transform_inst() 241 newInst.Instruction.Opcode = TGSI_OPCODE_MUL; in aa_transform_inst() 242 newInst.Instruction.NumDstRegs = 1; in aa_transform_inst() 243 newInst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in aa_transform_inst() 244 newInst.Dst[0].Register.Index = tmp0; in aa_transform_inst() 245 newInst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XY; in aa_transform_inst() 246 newInst.Instruction.NumSrcRegs = 2; in aa_transform_inst() 247 newInst.Src[0].Register.File = TGSI_FILE_INPUT; in aa_transform_inst() 248 newInst.Src[0].Register.Index = texInput; in aa_transform_inst() [all …]
|
D | draw_pipe_pstipple.c | 207 struct tgsi_full_instruction newInst; in pstip_transform_inst() local 291 newInst = tgsi_default_full_instruction(); in pstip_transform_inst() 292 newInst.Instruction.Opcode = TGSI_OPCODE_MUL; in pstip_transform_inst() 293 newInst.Instruction.NumDstRegs = 1; in pstip_transform_inst() 294 newInst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in pstip_transform_inst() 295 newInst.Dst[0].Register.Index = pctx->texTemp; in pstip_transform_inst() 296 newInst.Instruction.NumSrcRegs = 2; in pstip_transform_inst() 297 newInst.Src[0].Register.File = TGSI_FILE_INPUT; in pstip_transform_inst() 298 newInst.Src[0].Register.Index = wincoordInput; in pstip_transform_inst() 299 newInst.Src[1].Register.File = TGSI_FILE_IMMEDIATE; in pstip_transform_inst() [all …]
|
D | draw_pipe_aaline.c | 274 struct tgsi_full_instruction newInst; in aa_transform_inst() local 277 newInst = tgsi_default_full_instruction(); in aa_transform_inst() 278 newInst.Instruction.Opcode = TGSI_OPCODE_TEX; in aa_transform_inst() 279 newInst.Instruction.NumDstRegs = 1; in aa_transform_inst() 280 newInst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in aa_transform_inst() 281 newInst.Dst[0].Register.Index = aactx->texTemp; in aa_transform_inst() 282 newInst.Instruction.NumSrcRegs = 2; in aa_transform_inst() 283 newInst.Instruction.Texture = TRUE; in aa_transform_inst() 284 newInst.Texture.Texture = TGSI_TEXTURE_2D; in aa_transform_inst() 285 newInst.Src[0].Register.File = TGSI_FILE_INPUT; in aa_transform_inst() [all …]
|
/external/mesa3d/src/mesa/program/ |
D | programopt.c | 51 struct prog_instruction *newInst; in _mesa_insert_mvp_dp4_code() local 74 newInst = _mesa_alloc_instructions(newLen); in _mesa_insert_mvp_dp4_code() 75 if (!newInst) { in _mesa_insert_mvp_dp4_code() 88 _mesa_init_instructions(newInst, 4); in _mesa_insert_mvp_dp4_code() 90 newInst[i].Opcode = OPCODE_DP4; in _mesa_insert_mvp_dp4_code() 91 newInst[i].DstReg.File = PROGRAM_OUTPUT; in _mesa_insert_mvp_dp4_code() 92 newInst[i].DstReg.Index = VERT_RESULT_HPOS; in _mesa_insert_mvp_dp4_code() 93 newInst[i].DstReg.WriteMask = (WRITEMASK_X << i); in _mesa_insert_mvp_dp4_code() 94 newInst[i].SrcReg[0].File = PROGRAM_STATE_VAR; in _mesa_insert_mvp_dp4_code() 95 newInst[i].SrcReg[0].Index = mvpRef[i]; in _mesa_insert_mvp_dp4_code() [all …]
|
D | program.c | 580 struct prog_instruction *newInst; in _mesa_insert_instructions() local 594 newInst = _mesa_alloc_instructions(newLen); in _mesa_insert_instructions() 595 if (!newInst) { in _mesa_insert_instructions() 600 _mesa_copy_instructions(newInst, prog->Instructions, start); in _mesa_insert_instructions() 603 _mesa_init_instructions(newInst + start, count); in _mesa_insert_instructions() 606 _mesa_copy_instructions(newInst + start + count, in _mesa_insert_instructions() 614 prog->Instructions = newInst; in _mesa_insert_instructions() 629 struct prog_instruction *newInst; in _mesa_delete_instructions() local 643 newInst = _mesa_alloc_instructions(newLen); in _mesa_delete_instructions() 644 if (!newInst) { in _mesa_delete_instructions() [all …]
|
D | prog_instruction.c | 90 struct prog_instruction *newInst; in _mesa_realloc_instructions() local 92 newInst = (struct prog_instruction *) in _mesa_realloc_instructions() 97 return newInst; in _mesa_realloc_instructions()
|
D | nvvertparse.c | 1291 struct prog_instruction *newInst; in _mesa_parse_nv_vertex_program() local 1375 newInst = _mesa_alloc_instructions(parseState.numInst); in _mesa_parse_nv_vertex_program() 1376 if (!newInst) { in _mesa_parse_nv_vertex_program() 1381 _mesa_copy_instructions(newInst, instBuffer, parseState.numInst); in _mesa_parse_nv_vertex_program() 1393 program->Base.Instructions = newInst; in _mesa_parse_nv_vertex_program()
|
D | nvfragparse.c | 1479 struct prog_instruction *newInst; in _mesa_parse_nv_fragment_program() local 1543 newInst = _mesa_alloc_instructions(parseState.numInst); in _mesa_parse_nv_fragment_program() 1544 if (!newInst) { in _mesa_parse_nv_fragment_program() 1548 _mesa_copy_instructions(newInst, instBuffer, parseState.numInst); in _mesa_parse_nv_fragment_program() 1560 program->Base.Instructions = newInst; in _mesa_parse_nv_fragment_program()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_pstipple.c | 271 struct tgsi_full_instruction newInst; in pstip_transform_inst() local 357 newInst = tgsi_default_full_instruction(); in pstip_transform_inst() 358 newInst.Instruction.Opcode = TGSI_OPCODE_MUL; in pstip_transform_inst() 359 newInst.Instruction.NumDstRegs = 1; in pstip_transform_inst() 360 newInst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in pstip_transform_inst() 361 newInst.Dst[0].Register.Index = pctx->texTemp; in pstip_transform_inst() 362 newInst.Instruction.NumSrcRegs = 2; in pstip_transform_inst() 363 newInst.Src[0].Register.File = TGSI_FILE_INPUT; in pstip_transform_inst() 364 newInst.Src[0].Register.Index = wincoordInput; in pstip_transform_inst() 365 newInst.Src[1].Register.File = TGSI_FILE_IMMEDIATE; in pstip_transform_inst() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | ffvertex_prog.c | 589 struct prog_instruction *newInst; in emit_op3fn() local 594 newInst = _mesa_alloc_instructions(p->max_inst); in emit_op3fn() 595 if (!newInst) { in emit_op3fn() 600 _mesa_copy_instructions(newInst, in emit_op3fn() 607 p->program->Base.Instructions = newInst; in emit_op3fn()
|
/external/llvm/docs/ |
D | ProgrammersManual.rst | 1938 Instruction *newInst = new Instruction(...); 1940 pb->getInstList().insert(pi, newInst); // Inserts newInst before pi in pb 1950 Instruction *newInst = new Instruction(...); 1952 pb->getInstList().push_back(newInst); // Appends newInst to pb 1959 Instruction *newInst = new Instruction(..., pb); 1974 Instruction *newInst = new Instruction(...); 1976 pi->getParent()->getInstList().insert(pi, newInst); 1990 Instruction* newInst = new Instruction(..., pi);
|