Lines Matching refs:FragmentProgram
89 curProg = &ctx->FragmentProgram.Current->Base;
145 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current,
151 ASSERT(ctx->FragmentProgram.Current);
194 if (ctx->FragmentProgram.Current &&
195 ctx->FragmentProgram.Current->Base.Id == ids[i]) {
286 prog = &(ctx->FragmentProgram.Current->Base);
287 maxParams = ctx->Const.FragmentProgram.MaxLocalParams;
291 prog = &(ctx->FragmentProgram.Current->Base);
316 if (index >= ctx->Const.FragmentProgram.MaxEnvParams) {
320 *param = ctx->FragmentProgram.Parameters[index];
383 struct gl_fragment_program *prog = ctx->FragmentProgram.Current;
390 struct gl_fragment_program *prog = ctx->FragmentProgram.Current;
506 if ((index + count) > ctx->Const.FragmentProgram.MaxEnvParams) {
510 dest = ctx->FragmentProgram.Parameters[index];
609 if ((index + count) > ctx->Const.FragmentProgram.MaxLocalParams) {
613 dest = ctx->FragmentProgram.Current->Base.LocalParams[index];
710 prog = &(ctx->FragmentProgram.Current->Base);
711 limits = &ctx->Const.FragmentProgram;
829 const struct gl_fragment_program *fp = ctx->FragmentProgram.Current;
891 prog = &(ctx->FragmentProgram.Current->Base);