Home | History | Annotate | Download | only in program

Lines Matching refs:Instructions

44  * This function inserts instructions for coordinate modelview * projection
72 /* Alloc storage for new instructions */
81 * Generated instructions:
101 /* Append original instructions after new instructions */
102 _mesa_copy_instructions (newInst + 4, vprog->arb.Instructions, origLen);
104 /* free old instructions */
105 ralloc_free(vprog->arb.Instructions);
107 /* install new instructions */
108 vprog->arb.Instructions = newInst;
140 /* Alloc storage for new instructions */
152 * Generated instructions:
202 /* Append original instructions after new instructions */
203 _mesa_copy_instructions (newInst + 4, vprog->arb.Instructions, origLen);
205 /* free old instructions */
206 ralloc_free(vprog->arb.Instructions);
208 /* install new instructions */
209 vprog->arb.Instructions = newInst;
231 * Append instructions to implement fog
236 * \param fprog Fragment program that fog instructions will be appended to.
272 /* Alloc storage for new instructions */
280 /* Copy orig instructions into new instruction buffer */
281 _mesa_copy_instructions(newInst, fprog->arb.Instructions, origLen);
314 /* emit instructions to compute fog blending factor */
405 /* free old instructions */
406 ralloc_free(fprog->arb.Instructions);
408 /* install new instructions */
409 fprog->arb.Instructions = newInst;
449 const struct prog_instruction *inst = prog->arb.Instructions + i;
482 * Count number of texture instructions in given program and update the
492 is_texture_instruction(prog->arb.Instructions + i);
520 /* look for instructions which read from varying vars */
522 struct prog_instruction *inst = prog->arb.Instructions + i;
545 /* look for instructions which write to the varying vars identified above */
547 struct prog_instruction *inst = prog->arb.Instructions + i;
556 /* insert new instructions to copy the temp vars to the varying vars */
564 struct prog_instruction *inst = prog->arb.Instructions + i;
574 /* insert new MOV instructions here */
575 inst = prog->arb.Instructions + endPos;
603 struct prog_instruction *inst = prog->arb.Instructions + i;