Home | History | Annotate | Download | only in swrast

Lines Matching refs:machine

77  * Called via machine->FetchTexelLod()
106 * Called via machine->FetchTexelDeriv()
152 * Initialize the virtual fragment program machine state prior to running
155 * \param machine the virtual machine state to init
161 init_machine(struct gl_context *ctx, struct gl_program_machine *machine,
175 machine->Attribs = span->array->attribs;
177 machine->DerivX = (GLfloat (*)[4]) span->attrStepX;
178 machine->DerivY = (GLfloat (*)[4]) span->attrStepY;
179 machine->NumDeriv = VARYING_SLOT_MAX;
181 machine->Samplers = program->SamplerUnits;
186 machine->Attribs[VARYING_SLOT_FACE][col][0] = 1.0F - span->facing;
189 machine->CurElement = col;
192 machine->StackDepth = 0;
194 machine->FetchTexelLod = fetch_texel_lod;
195 machine->FetchTexelDeriv = fetch_texel_deriv;
208 struct gl_program_machine *machine = &swrast->FragProgMachine;
213 init_machine(ctx, machine, program, span, i);
215 if (_mesa_execute_program(ctx, program, machine)) {
220 machine->Outputs[FRAG_RESULT_COLOR]);
231 machine->Outputs[FRAG_RESULT_DATA0 + buf]);
238 const GLfloat depth = machine->Outputs[FRAG_RESULT_DEPTH][2];