Lines Matching refs:Instructions
388 if (prog->Instructions) { in _mesa_delete_program()
389 _mesa_free_instructions(prog->Instructions, prog->NumInstructions); in _mesa_delete_program()
500 clone->Instructions = _mesa_alloc_instructions(prog->NumInstructions); in _mesa_clone_program()
501 if (!clone->Instructions) { in _mesa_clone_program()
505 _mesa_copy_instructions(clone->Instructions, prog->Instructions, in _mesa_clone_program()
585 struct prog_instruction *inst = prog->Instructions + i; in _mesa_insert_instructions()
600 _mesa_copy_instructions(newInst, prog->Instructions, start); in _mesa_insert_instructions()
607 prog->Instructions + start, in _mesa_insert_instructions()
611 _mesa_free_instructions(prog->Instructions, origLen); in _mesa_insert_instructions()
614 prog->Instructions = newInst; in _mesa_insert_instructions()
634 struct prog_instruction *inst = prog->Instructions + i; in _mesa_delete_instructions()
649 _mesa_copy_instructions(newInst, prog->Instructions, start); in _mesa_delete_instructions()
653 prog->Instructions + start + count, in _mesa_delete_instructions()
657 _mesa_free_instructions(prog->Instructions, origLen); in _mesa_delete_instructions()
660 prog->Instructions = newInst; in _mesa_delete_instructions()
744 _mesa_copy_instructions(newInst, progA->Instructions, lenA); in _mesa_combine_programs()
745 _mesa_copy_instructions(newInst + lenA, progB->Instructions, lenB); in _mesa_combine_programs()
753 newProg->Instructions = newInst; in _mesa_combine_programs()
868 const struct prog_instruction *inst = prog->Instructions + i; in _mesa_find_used_registers()
1028 struct prog_instruction *inst = prog->Instructions + i; in _mesa_postprocess_program()