Home | History | Annotate | Download | only in program

Lines Matching refs:Program

26  * \file program.c
27 * Vertex and fragment program support functions.
36 #include "program.h"
43 * A pointer to this dummy program is put into the hash table when
50 * Init context's vertex/fragment program state
83 ctx->Program.ErrorPos = -1;
84 ctx->Program.ErrorString = _mesa_strdup("");
115 /* right now by default we don't have a geometry program */
132 * Free a context's vertex/fragment program state
158 free((void *) ctx->Program.ErrorString);
163 * Update the default program objects in the given context to reference those
203 * Set the vertex/fragment program error state (position and error string).
209 ctx->Program.ErrorPos = pos;
210 free((void *) ctx->Program.ErrorString);
213 ctx->Program.ErrorString = _mesa_strdup(string);
221 * \param string the program string
261 * Initialize a new vertex/fragment program object.
287 * Initialize a new fragment program object.
301 * Initialize a new vertex program object.
315 * Initialize a new geometry program object.
329 * Allocate and initialize a new fragment/vertex program object but
330 * don't put it into the program hash table. Called via
336 * \param id program id/number
337 * \param target program target/type
338 * \return pointer to new program object
370 * Delete a program and remove it from the hash table, ignoring the
443 printf("Program %p ID=%u Target=%s Refcount-- to %d\n",
468 printf("Program %p ID=%u Target=%s Refcount++ to %d\n",
482 * Return a copy of a program.
483 * XXX Problem here if the program object is actually OO-derivation
572 * Insert 'count' NOP instructions at 'start' in the given program.
621 * Delete 'count' instructions at 'start' in the given program.
696 * Search instructions for references to program parameters. When found,
720 * the first program go to the inputs of the second program.
780 * The fragment program may get color from a state var rather than
783 * So, search the program's parameter list now to see if the program
824 /* compute combined program's InputsRead */
834 /* vertex program */
853 * INPUTs, OUTPUTs, etc, are used by the given program.
1011 * "Post-process" a GPU program. This is intended to be used for debugging.