Lines Matching refs:VertexProgram
87 const struct gl_program *prevVP = ctx->VertexProgram._Current;
95 * Set the ctx->VertexProgram._Current and ctx->FragmentProgram._Current
180 assert(VP_MODE_SHADER == ctx->VertexProgram._VPMode);
181 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, vsProg);
185 assert(VP_MODE_SHADER == ctx->VertexProgram._VPMode);
186 _mesa_reference_program(ctx, &ctx->VertexProgram._Current,
187 ctx->VertexProgram.Current);
189 else if (ctx->VertexProgram._MaintainTnlProgram) {
191 assert(VP_MODE_FF == ctx->VertexProgram._VPMode);
192 _mesa_reference_program(ctx, &ctx->VertexProgram._Current,
194 _mesa_reference_program(ctx, &ctx->VertexProgram._TnlProgram,
195 ctx->VertexProgram._Current);
199 assert(VP_MODE_FF == ctx->VertexProgram._VPMode);
200 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, NULL);
214 ctx->VertexProgram._Current != prevVP ||
251 update_single_program_constants(ctx, ctx->VertexProgram._Current,
318 if (ctx->VertexProgram._MaintainTnlProgram) {
440 if (ctx->VertexProgram._TnlProgram ||
458 if (ctx->VertexProgram._Overriden != flag) {
459 ctx->VertexProgram._Overriden = flag;
472 if (ctx->VertexProgram._VPMode == m)
479 ctx->VertexProgram._VPMode = m;
484 * Update ctx->VertexProgram._VPMode.