Home | History | Annotate | Download | only in swrast

Lines Matching full:program

28 #include "program/prog_instruction.h"
35 * \brief Should swrast use a fragment program?
37 * \return true if the current fragment program exists and is not the fixed
38 * function fragment program
152 * Initialize the virtual fragment program machine state prior to running
153 * fragment program on a fragment. This involves initializing the input
156 * \param program the fragment program we're about to run
162 const struct gl_fragment_program *program,
167 if (program->Base.Target == GL_FRAGMENT_PROGRAM_NV) {
173 if (program->OriginUpperLeft)
175 if (!program->PixelCenterInteger) {
187 machine->Samplers = program->Base.SamplerUnits;
189 /* if running a GLSL program (not ARB_fragment_program) */
212 * Run fragment program on the pixels in span from 'start' to 'end' - 1.
218 const struct gl_fragment_program *program = ctx->FragmentProgram._Current;
219 const GLbitfield64 outputsWritten = program->Base.OutputsWritten;
225 init_machine(ctx, machine, program, span, i);
227 if (_mesa_execute_program(ctx, &program->Base, machine)) {
271 * Execute the current fragment program for all the fragments
277 const struct gl_fragment_program *program = ctx->FragmentProgram._Current;
280 if (program->Base.InputsRead & FRAG_BIT_COL0) {
286 if (program->Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_COLOR)) {
291 if (program->Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_DEPTH)) {