Lines Matching refs:VertexProgram

178    const struct gl_program *prevVP = ctx->VertexProgram._Current;
186 * Set the ctx->VertexProgram._Current and ctx->FragmentProgram._Current
271 assert(VP_MODE_SHADER == ctx->VertexProgram._VPMode);
272 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, vsProg);
276 assert(VP_MODE_SHADER == ctx->VertexProgram._VPMode);
277 _mesa_reference_program(ctx, &ctx->VertexProgram._Current,
278 ctx->VertexProgram.Current);
280 else if (ctx->VertexProgram._MaintainTnlProgram) {
282 assert(VP_MODE_FF == ctx->VertexProgram._VPMode);
283 _mesa_reference_program(ctx, &ctx->VertexProgram._Current,
285 _mesa_reference_program(ctx, &ctx->VertexProgram._TnlProgram,
286 ctx->VertexProgram._Current);
290 assert(VP_MODE_FF == ctx->VertexProgram._VPMode);
291 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, NULL);
305 ctx->VertexProgram._Current != prevVP ||
342 update_single_program_constants(ctx, ctx->VertexProgram._Current,
376 ctx->VertexProgram._UsesTnlProgram =
377 ctx->VertexProgram._MaintainTnlProgram &&
460 if (ctx->VertexProgram._UsesTnlProgram)
515 if (ctx->VertexProgram._Overriden != flag) {
516 ctx->VertexProgram._Overriden = flag;
529 if (ctx->VertexProgram._VPMode == m)
536 ctx->VertexProgram._VPMode = m;
538 /* The gl_context::VertexProgram._VaryingInputs value is only used when in
541 ctx->VertexProgram._VPModeOptimizesConstantAttribs =
543 ctx->VertexProgram._MaintainTnlProgram &&
558 ctx->VertexProgram._VPModeInputFilter = VERT_BIT_FF_ALL;
574 ctx->VertexProgram._VPModeInputFilter = VERT_BIT_ALL;
576 ctx->VertexProgram._VPModeInputFilter = VERT_BIT_GENERIC_ALL;
592 * Update ctx->VertexProgram._VPMode.
613 ctx->VertexProgram._VPMode = -1; /* force the update */