Home | History | Annotate | Download | only in program

Lines Matching full:newinst

358    struct prog_instruction *newInst;
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;
422 newInst = rzalloc_array(mem_ctx, struct prog_instruction, newLen);
423 if (!newInst) {
428 _mesa_copy_instructions(newInst, prog->arb.Instructions, start);
431 _mesa_copy_instructions(newInst + start,
439 prog->arb.Instructions = newInst;