Lines Matching refs:prog
61 * information to update the prog->TexturesUsed[] values.
68 struct gl_program *prog)
70 GLbitfield mask = prog->SamplersUsed;
72 shProg->_LinkedShaders[_mesa_program_enum_to_shader_stage(prog->Target)];
76 memset(prog->TexturesUsed, 0, sizeof(prog->TexturesUsed));
82 GLuint unit = prog->SamplerUnits[s];
83 GLuint tgt = prog->sh.SamplerTargets[s];
84 assert(unit < ARRAY_SIZE(prog->TexturesUsed));
95 if (prog->TexturesUsed[unit] & ~(1 << tgt))
98 prog->TexturesUsed[unit] |= (1 << tgt);