Home
last modified time | relevance | path

Searched refs:newInst (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/mesa/program/
Dprogramopt.c51 struct prog_instruction *newInst; in insert_mvp_dp4_code() local
73 newInst = rzalloc_array(vprog, struct prog_instruction, newLen); in insert_mvp_dp4_code()
74 if (!newInst) { in insert_mvp_dp4_code()
87 _mesa_init_instructions(newInst, 4); in insert_mvp_dp4_code()
89 newInst[i].Opcode = OPCODE_DP4; in insert_mvp_dp4_code()
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()
93 newInst[i].SrcReg[0].File = PROGRAM_STATE_VAR; in insert_mvp_dp4_code()
94 newInst[i].SrcReg[0].Index = mvpRef[i]; in insert_mvp_dp4_code()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c173 struct tgsi_full_instruction newInst; in aa_transform_prolog() local
257 newInst = tgsi_default_full_instruction(); in aa_transform_prolog()
258 newInst.Instruction.Opcode = TGSI_OPCODE_RCP; in aa_transform_prolog()
259 newInst.Instruction.NumDstRegs = 1; in aa_transform_prolog()
260 newInst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in aa_transform_prolog()
261 newInst.Dst[0].Register.Index = tmp0; in aa_transform_prolog()
262 newInst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_Z; in aa_transform_prolog()
263 newInst.Instruction.NumSrcRegs = 1; in aa_transform_prolog()
264 newInst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in aa_transform_prolog()
265 newInst.Src[0].Register.Index = tmp0; in aa_transform_prolog()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dlocal_access_chain_convert_pass.cpp39 std::unique_ptr<Instruction> newInst( in BuildAndAppendInst() local
41 get_def_use_mgr()->AnalyzeInstDefUse(&*newInst); in BuildAndAppendInst()
42 newInsts->emplace_back(std::move(newInst)); in BuildAndAppendInst()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dlocal_access_chain_convert_pass.cpp39 std::unique_ptr<Instruction> newInst( in BuildAndAppendInst() local
41 get_def_use_mgr()->AnalyzeInstDefUse(&*newInst); in BuildAndAppendInst()
42 newInsts->emplace_back(std::move(newInst)); in BuildAndAppendInst()
/third_party/spirv-tools/source/opt/
Dlocal_access_chain_convert_pass.cpp38 std::unique_ptr<Instruction> newInst( in BuildAndAppendInst() local
40 get_def_use_mgr()->AnalyzeInstDefUse(&*newInst); in BuildAndAppendInst()
41 newInsts->emplace_back(std::move(newInst)); in BuildAndAppendInst()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Ddef_use_test.cpp1412 Instruction newInst(context.get(), SpvOpConstantTrue, 1, 2, {}); in TEST() local
1413 manager.AnalyzeInstDefUse(&newInst); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Ddef_use_test.cpp1412 Instruction newInst(context.get(), SpvOpConstantTrue, 1, 2, {}); in TEST() local
1413 manager.AnalyzeInstDefUse(&newInst); in TEST()
/third_party/spirv-tools/test/opt/
Ddef_use_test.cpp1412 Instruction newInst(context.get(), SpvOpConstantTrue, 1, 2, {}); in TEST() local
1413 manager.AnalyzeInstDefUse(&newInst); in TEST()
/third_party/mesa3d/src/mesa/main/
Dffvertex_prog.c587 struct prog_instruction *newInst; in emit_op3fn() local
592 newInst = in emit_op3fn()
594 if (!newInst) { in emit_op3fn()
599 _mesa_copy_instructions(newInst, p->program->arb.Instructions, in emit_op3fn()
604 p->program->arb.Instructions = newInst; in emit_op3fn()