Home | History | Annotate | Download | only in program

Lines Matching refs:Instructions

345  * Insert 'count' NOP instructions at 'start' in the given program.
358 struct prog_instruction *inst = prog->arb.Instructions + i;
366 /* Alloc storage for new instructions */
372 /* Copy 'start' instructions into new instruction buffer */
373 _mesa_copy_instructions(newInst, prog->arb.Instructions, start);
375 /* init the new instructions */
378 /* Copy the remaining/tail instructions to new inst buffer */
380 prog->arb.Instructions + start,
383 /* free old instructions */
384 ralloc_free(prog->arb.Instructions);
386 /* install new instructions */
387 prog->arb.Instructions = newInst;
394 * Delete 'count' instructions at 'start' in the given program.
408 struct prog_instruction *inst = prog->arb.Instructions + i;
416 /* Alloc storage for new instructions */
422 /* Copy 'start' instructions into new instruction buffer */
423 _mesa_copy_instructions(newInst, prog->arb.Instructions, start);
425 /* Copy the remaining/tail instructions to new inst buffer */
427 prog->arb.Instructions + start + count,
430 /* free old instructions */
431 ralloc_free(prog->arb.Instructions);
433 /* install new instructions */
434 prog->arb.Instructions = newInst;
458 const struct prog_instruction *inst = prog->arb.Instructions + i;
604 /* Fix up state parameter offsets in instructions. */
606 struct prog_instruction *instrs = prog->arb.Instructions;