Lines Matching full:machine

74    struct gl_program_machine machine;  member
224 * Initialize virtual machine state prior to executing vertex program.
227 init_machine(struct gl_context *ctx, struct gl_program_machine *machine, in init_machine() argument
231 memcpy(machine->VertAttribs, ctx->Current.Attrib, in init_machine()
238 ASSIGN_4V(machine->Outputs[i], 0.0F, 0.0F, 0.0F, 1.0F); in init_machine()
242 ASSIGN_4V(machine->Temporaries[i], 0.0F, 0.0F, 0.0F, 0.0F); in init_machine()
245 ASSIGN_4V(machine->AddressReg[i], 0, 0, 0, 0); in init_machine()
249 machine->NumDeriv = 0; in init_machine()
252 machine->CondCodes[0] = COND_EQ; in init_machine()
253 machine->CondCodes[1] = COND_EQ; in init_machine()
254 machine->CondCodes[2] = COND_EQ; in init_machine()
255 machine->CondCodes[3] = COND_EQ; in init_machine()
258 machine->StackDepth = 0; in init_machine()
260 machine->FetchTexelLod = vp_fetch_texel; in init_machine()
261 machine->FetchTexelDeriv = NULL; /* not used by vertex programs */ in init_machine()
263 machine->Samplers = ctx->VertexProgram._Current->Base.SamplerUnits; in init_machine()
265 machine->SystemValues[SYSTEM_VALUE_INSTANCE_ID][0] = (GLfloat) instID; in init_machine()
317 struct gl_program_machine *machine = &store->machine; in run_vp() local
356 init_machine(ctx, machine, tnl->CurInstance); in run_vp()
389 COPY_CLEAN_4V(machine->VertAttribs[attr], size, data); in run_vp()
394 _mesa_execute_program(ctx, &program->Base, machine); in run_vp()
400 check_float(machine->Outputs[attr][0]); in run_vp()
401 check_float(machine->Outputs[attr][1]); in run_vp()
402 check_float(machine->Outputs[attr][2]); in run_vp()
403 check_float(machine->Outputs[attr][3]); in run_vp()
405 COPY_4V(store->results[attr].data[i], machine->Outputs[attr]); in run_vp()
415 ASSERT(machine->Outputs[0][3] != 0.0F); in run_vp()
419 machine->Outputs[0][0], in run_vp()
420 machine->Outputs[0][1], in run_vp()
421 machine->Outputs[0][2], in run_vp()
422 machine->Outputs[0][3]); in run_vp()