Lines Matching full:program
40 #include "program/prog_instruction.h"
41 #include "program/prog_statevars.h"
42 #include "program/prog_execute.h"
62 * Private storage for the vertex program pipeline stage.
65 /** The results of running the vertex program go into these arrays. */
209 * Called via ctx->Driver.ProgramStringNotify() after a new vertex program
213 _tnl_program_string(struct gl_context *ctx, GLenum target, struct gl_program *program)
216 * If we had derived anything from the program that was private to this
224 * Initialize virtual machine state prior to executing vertex program.
270 * Map the texture images which the vertex program will access (if any).
289 * Unmap the texture images which were used by the vertex program (if any).
316 struct gl_vertex_program *program = ctx->VertexProgram._Current;
321 if (!program)
324 if (program->IsNVProgram) {
328 /* ARB program or vertex shader */
329 _mesa_load_state_parameters(ctx, program->Base.Parameters);
335 if (program->Base.OutputsWritten & BITFIELD64_BIT(i)) {
351 map_textures(ctx, program);
378 if (program->Base.InputsRead & BITFIELD64_BIT(attr)) {
393 /* execute the program */
394 _mesa_execute_program(ctx, &program->Base, machine);
409 if (program->Base.OutputsWritten & BITFIELD64_BIT(VERT_RESULT_FOGC)) {
426 unmap_textures(ctx, program);
429 if (program->IsNVProgram) {
431 (program->Base.OutputsWritten & BITFIELD64_BIT(VERT_RESULT_FOGC)) == 0) {
438 (program->Base.OutputsWritten & BITFIELD64_BIT(VERT_RESULT_PSIZ)) == 0) {
445 if (program->IsPositionInvariant) {
471 * their data from the right place (the program output arrays).
491 if (program->Base.OutputsWritten & BITFIELD64_BIT(VERT_RESULT_VAR0 + i)) {
541 /* free the vertex program result arrays */
570 "vertex-program",