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