Lines Matching refs:_Current
181 const struct gl_program *prevVP = ctx->VertexProgram._Current; in update_program()
182 const struct gl_program *prevFP = ctx->FragmentProgram._Current; in update_program()
183 const struct gl_program *prevGP = ctx->GeometryProgram._Current; in update_program()
184 const struct gl_program *prevTCP = ctx->TessCtrlProgram._Current; in update_program()
185 const struct gl_program *prevTEP = ctx->TessEvalProgram._Current; in update_program()
186 const struct gl_program *prevCP = ctx->ComputeProgram._Current; in update_program()
207 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, fsProg); in update_program()
213 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program()
221 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program()
230 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program()
238 _mesa_reference_program(ctx, &ctx->GeometryProgram._Current, gsProg); in update_program()
241 _mesa_reference_program(ctx, &ctx->GeometryProgram._Current, NULL); in update_program()
246 _mesa_reference_program(ctx, &ctx->TessEvalProgram._Current, tesProg); in update_program()
250 _mesa_reference_program(ctx, &ctx->TessEvalProgram._Current, NULL); in update_program()
255 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, tcsProg); in update_program()
259 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, NULL); in update_program()
269 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, vsProg); in update_program()
274 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, in update_program()
280 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, in update_program()
283 ctx->VertexProgram._Current); in update_program()
288 _mesa_reference_program(ctx, &ctx->ComputeProgram._Current, csProg); in update_program()
291 _mesa_reference_program(ctx, &ctx->ComputeProgram._Current, NULL); in update_program()
294 bool vp_changed = ctx->VertexProgram._Current != prevVP; in update_program()
295 bool tep_changed = ctx->TessEvalProgram._Current != prevTEP; in update_program()
296 bool gp_changed = ctx->GeometryProgram._Current != prevGP; in update_program()
297 if (ctx->GeometryProgram._Current) { in update_program()
299 } else if (ctx->TessEvalProgram._Current) { in update_program()
307 if (ctx->FragmentProgram._Current != prevFP || in update_program()
308 ctx->VertexProgram._Current != prevVP || in update_program()
309 ctx->GeometryProgram._Current != prevGP || in update_program()
310 ctx->TessEvalProgram._Current != prevTEP || in update_program()
311 ctx->TessCtrlProgram._Current != prevTCP || in update_program()
312 ctx->ComputeProgram._Current != prevCP) in update_program()
345 update_single_program_constants(ctx, ctx->VertexProgram._Current, in update_program_constants()
347 update_single_program_constants(ctx, ctx->FragmentProgram._Current, in update_program_constants()
353 update_single_program_constants(ctx, ctx->GeometryProgram._Current, in update_program_constants()
358 update_single_program_constants(ctx, ctx->TessCtrlProgram._Current, in update_program_constants()
360 update_single_program_constants(ctx, ctx->TessEvalProgram._Current, in update_program_constants()