Home | History | Annotate | Download | only in swrast

Lines Matching full:machine

76  * Called via machine->FetchTexelLod()
105 * 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,
169 memset(machine->Temporaries, 0, MAX_PROGRAM_TEMPS * 4 * sizeof(GLfloat));
181 machine->Attribs = span->array->attribs;
183 machine->DerivX = (GLfloat (*)[4]) span->attrStepX;
184 machine->DerivY = (GLfloat (*)[4]) span->attrStepY;
185 machine->NumDeriv = FRAG_ATTRIB_MAX;
187 machine->Samplers = program->Base.SamplerUnits;
192 machine->Attribs[FRAG_ATTRIB_FACE][col][0] = 1.0F - span->facing;
195 machine->CurElement = col;
198 machine->CondCodes[0] = COND_EQ;
199 machine->CondCodes[1] = COND_EQ;
200 machine->CondCodes[2] = COND_EQ;
201 machine->CondCodes[3] = COND_EQ;
204 machine->StackDepth = 0;
206 machine->FetchTexelLod = fetch_texel_lod;
207 machine->FetchTexelDeriv = fetch_texel_deriv;
220 struct gl_program_machine *machine = &swrast->FragProgMachine;
225 init_machine(ctx, machine, program, span, i);
227 if (_mesa_execute_program(ctx, &program->Base, machine)) {
232 machine->Outputs[FRAG_RESULT_COLOR]);
243 machine->Outputs[FRAG_RESULT_DATA0 + buf]);
250 const GLfloat depth = machine->Outputs[FRAG_RESULT_DEPTH][2];