Searched defs:newInst (Results 1 - 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/program/
H A Dprogram.c358 struct prog_instruction *newInst; local
372 newInst = rzalloc_array(prog, struct prog_instruction, newLen);
373 if (!newInst) {
378 _mesa_copy_instructions(newInst, prog->arb.Instructions, start);
381 _mesa_init_instructions(newInst + start, count);
384 _mesa_copy_instructions(newInst + start + count,
392 prog->arb.Instructions = newInst;
408 struct prog_instruction *newInst; local
422 newInst = rzalloc_array(mem_ctx, struct prog_instruction, newLen);
423 if (!newInst) {
[all...]
H A Dprogramopt.c51 struct prog_instruction *newInst; local
73 newInst = rzalloc_array(vprog, struct prog_instruction, newLen);
74 if (!newInst) {
82 * newInst[0] = DP4 result.position.x, mvp.row[0], vertex.position;
83 * newInst[1] = DP4 result.position.y, mvp.row[1], vertex.position;
84 * newInst[2] = DP4 result.position.z, mvp.row[2], vertex.position;
85 * newInst[3] = DP4 result.position.w, mvp.row[3], vertex.position;
87 _mesa_init_instructions(newInst, 4);
89 newInst[i].Opcode = OPCODE_DP4;
90 newInst[
118 struct prog_instruction *newInst; local
254 struct prog_instruction *newInst, *inst; local
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_aapoint.c171 struct tgsi_full_instruction newInst; local
255 newInst = tgsi_default_full_instruction();
256 newInst.Instruction.Opcode = TGSI_OPCODE_RCP;
257 newInst.Instruction.NumDstRegs = 1;
258 newInst.Dst[0].Register.File = TGSI_FILE_TEMPORARY;
259 newInst.Dst[0].Register.Index = tmp0;
260 newInst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_Z;
261 newInst.Instruction.NumSrcRegs = 1;
262 newInst.Src[0].Register.File = TGSI_FILE_TEMPORARY;
263 newInst
[all...]
/external/mesa3d/src/mesa/main/
H A Dffvertex_prog.c584 struct prog_instruction *newInst; local
589 newInst =
591 if (!newInst) {
596 _mesa_copy_instructions(newInst, p->program->arb.Instructions,
601 p->program->arb.Instructions = newInst;

Completed in 140 milliseconds