Lines Matching defs:newInst
353 struct prog_instruction *newInst;
367 newInst = rzalloc_array(prog, struct prog_instruction, newLen);
368 if (!newInst) {
373 _mesa_copy_instructions(newInst, prog->arb.Instructions, start);
376 _mesa_init_instructions(newInst + start, count);
379 _mesa_copy_instructions(newInst + start + count,
387 prog->arb.Instructions = newInst;
403 struct prog_instruction *newInst;
417 newInst = rzalloc_array(mem_ctx, struct prog_instruction, newLen);
418 if (!newInst) {
423 _mesa_copy_instructions(newInst, prog->arb.Instructions, start);
426 _mesa_copy_instructions(newInst + start,
434 prog->arb.Instructions = newInst;