Lines Matching refs:Program
38 #include "program/prog_parameter.h"
39 #include "program/prog_print.h"
40 #include "program/programopt.h"
60 * Delete a vertex program variant. Note the caller must unlink
103 * Delete a fragment program variant. Note the caller must unlink
120 * Free all variants of a fragment program.
138 * Delete a geometry program variant. Note the caller must unlink
152 * Free all variants of a geometry program.
173 * \param outputMapping to map vertex program output registers (VERT_RESULT_x)
208 /* Compute mapping of vertex program outputs to slots.
296 * Translate a vertex program to create a new variant.
402 debug_printf("%s: failed to translate Mesa program:\n", __FUNCTION__);
412 * Find/create a vertex program variant.
466 * \return new fragment program variant
503 struct gl_fragment_program *fp; /* we free this temp program below */
514 struct gl_fragment_program *fp; /* we free this temp program below */
534 * Convert Mesa program inputs to TGSI input register semantics.
760 /* Free the temporary program made above */
770 * Translate fragment program if needed.
801 * Translate a geometry program to create a new variant.
850 * Convert Mesa program inputs to TGSI input register semantics.
1065 * Get/create geometry program variant.
1146 * variants attached to the given program which match the given context.
1149 destroy_program_variants(struct st_context *st, struct gl_program *program)
1151 if (!program)
1154 switch (program->Target) {
1157 struct st_vertex_program *stvp = (struct st_vertex_program *) program;
1178 (struct st_fragment_program *) program;
1199 (struct st_geometry_program *) program;
1218 _mesa_problem(NULL, "Unexpected program target 0x%x in "
1219 "destroy_program_variants_cb()", program->Target);
1225 * Callback for _mesa_HashWalk. Free all the shader's program variants
1241 destroy_program_variants(st, shProg->Shaders[i]->Program);
1246 destroy_program_variants(st, shProg->_LinkedShaders[i]->Program);
1254 destroy_program_variants(st, shader->Program);
1264 * Callback for _mesa_HashWalk. Free all the program variants which match
1271 struct gl_program *program = (struct gl_program *) data;
1272 destroy_program_variants(st, program);
1284 /* ARB vert/frag program */
1295 * For debugging, print/dump the current vertex program.
1307 debug_printf("Vertex program %u\n", stvp->Base.Base.Id);