Lines Matching refs:newInst
358 struct prog_instruction *newInst; in _mesa_insert_instructions() local
372 newInst = rzalloc_array(prog, struct prog_instruction, newLen); in _mesa_insert_instructions()
373 if (!newInst) { in _mesa_insert_instructions()
378 _mesa_copy_instructions(newInst, prog->arb.Instructions, start); in _mesa_insert_instructions()
381 _mesa_init_instructions(newInst + start, count); in _mesa_insert_instructions()
384 _mesa_copy_instructions(newInst + start + count, in _mesa_insert_instructions()
392 prog->arb.Instructions = newInst; in _mesa_insert_instructions()
408 struct prog_instruction *newInst; in _mesa_delete_instructions() local
422 newInst = rzalloc_array(mem_ctx, struct prog_instruction, newLen); in _mesa_delete_instructions()
423 if (!newInst) { in _mesa_delete_instructions()
428 _mesa_copy_instructions(newInst, prog->arb.Instructions, start); in _mesa_delete_instructions()
431 _mesa_copy_instructions(newInst + start, in _mesa_delete_instructions()
439 prog->arb.Instructions = newInst; in _mesa_delete_instructions()