Lines Matching refs:prog
438 const struct gl_program *const prog = shProg->_LinkedShaders[i]->Program;
442 for (unsigned j = 0; j < prog->Parameters->NumParameters; j++) {
444 prog->Parameters->Parameters[j].Name,
445 prog->Parameters->ParameterValues[j],
446 prog->Parameters->ParameterValues[j][0].f,
447 prog->Parameters->ParameterValues[j][1].f,
448 prog->Parameters->ParameterValues[j][2].f,
449 prog->Parameters->ParameterValues[j][3].f);
789 struct gl_program *const prog = sh->Program;
791 assert(sizeof(prog->SamplerUnits) == sizeof(shProg->SamplerUnits));
797 for (unsigned j = 0; j < Elements(prog->SamplerUnits); j++) {
799 && (prog->SamplerUnits[j] != shProg->SamplerUnits[j])) {
811 memcpy(prog->SamplerUnits,
815 _mesa_update_shader_textures_used(shProg, prog);
817 ctx->Driver.SamplerUniformChange(ctx, prog->Target, prog);