Lines Matching defs:newInst
363 struct prog_instruction *newInst;
377 newInst = rzalloc_array(prog, struct prog_instruction, newLen);
378 if (!newInst) {
383 _mesa_copy_instructions(newInst, prog->arb.Instructions, start);
386 _mesa_init_instructions(newInst + start, count);
389 _mesa_copy_instructions(newInst + start + count,
397 prog->arb.Instructions = newInst;
413 struct prog_instruction *newInst;
427 newInst = rzalloc_array(mem_ctx, struct prog_instruction, newLen);
428 if (!newInst) {
433 _mesa_copy_instructions(newInst, prog->arb.Instructions, start);
436 _mesa_copy_instructions(newInst + start,
444 prog->arb.Instructions = newInst;