• Home
  • Raw
  • Download

Lines Matching refs:shProg

212                   struct gl_shader_program *shProg,  in use_program_stage()  argument
216 if (shProg && shProg->_LinkedShaders[stage]) in use_program_stage()
217 prog = shProg->_LinkedShaders[stage]->Program; in use_program_stage()
219 _mesa_use_program(ctx, stage, shProg, prog, pipe); in use_program_stage()
223 use_program_stages(struct gl_context *ctx, struct gl_shader_program *shProg, in use_program_stages() argument
240 use_program_stage(ctx, GL_VERTEX_SHADER, shProg, pipe); in use_program_stages()
243 use_program_stage(ctx, GL_FRAGMENT_SHADER, shProg, pipe); in use_program_stages()
246 use_program_stage(ctx, GL_GEOMETRY_SHADER, shProg, pipe); in use_program_stages()
249 use_program_stage(ctx, GL_TESS_CONTROL_SHADER, shProg, pipe); in use_program_stages()
252 use_program_stage(ctx, GL_TESS_EVALUATION_SHADER, shProg, pipe); in use_program_stages()
255 use_program_stage(ctx, GL_COMPUTE_SHADER, shProg, pipe); in use_program_stages()
271 struct gl_shader_program *shProg = NULL; in _mesa_UseProgramStages_no_error() local
274 shProg = _mesa_lookup_shader_program(ctx, prog); in _mesa_UseProgramStages_no_error()
281 use_program_stages(ctx, shProg, stages, pipe); in _mesa_UseProgramStages_no_error()
293 struct gl_shader_program *shProg = NULL; in _mesa_UseProgramStages() local
349 shProg = _mesa_lookup_shader_program_err(ctx, program, in _mesa_UseProgramStages()
351 if (shProg == NULL) in _mesa_UseProgramStages()
363 if (!shProg->data->LinkStatus) { in _mesa_UseProgramStages()
369 if (!shProg->SeparateShader) { in _mesa_UseProgramStages()
377 use_program_stages(ctx, shProg, stages, pipe); in _mesa_UseProgramStages()
384 struct gl_shader_program *shProg = NULL; in active_shader_program() local
389 shProg = _mesa_lookup_shader_program(ctx, program); in active_shader_program()
391 shProg = _mesa_lookup_shader_program_err(ctx, program, in active_shader_program()
393 if (shProg == NULL) in active_shader_program()
408 if (!no_error && shProg != NULL && !shProg->data->LinkStatus) { in active_shader_program()
410 "glActiveShaderProgram(program %u not linked)", shProg->Name); in active_shader_program()
414 _mesa_reference_shader_program(ctx, &pipe->ActiveProgram, shProg); in active_shader_program()