Lines Matching refs:CurrentProgram
62 _mesa_reference_program(ctx, &obj->CurrentProgram[i], NULL); in _mesa_delete_pipeline_object()
530 struct gl_program *prog = ctx->_Shader->CurrentProgram[i]; in _mesa_bind_pipeline()
736 *params = pipe->CurrentProgram[MESA_SHADER_VERTEX] in _mesa_GetProgramPipelineiv()
737 ? pipe->CurrentProgram[MESA_SHADER_VERTEX]->Id : 0; in _mesa_GetProgramPipelineiv()
742 *params = pipe->CurrentProgram[MESA_SHADER_TESS_EVAL] in _mesa_GetProgramPipelineiv()
743 ? pipe->CurrentProgram[MESA_SHADER_TESS_EVAL]->Id : 0; in _mesa_GetProgramPipelineiv()
748 *params = pipe->CurrentProgram[MESA_SHADER_TESS_CTRL] in _mesa_GetProgramPipelineiv()
749 ? pipe->CurrentProgram[MESA_SHADER_TESS_CTRL]->Id : 0; in _mesa_GetProgramPipelineiv()
754 *params = pipe->CurrentProgram[MESA_SHADER_GEOMETRY] in _mesa_GetProgramPipelineiv()
755 ? pipe->CurrentProgram[MESA_SHADER_GEOMETRY]->Id : 0; in _mesa_GetProgramPipelineiv()
758 *params = pipe->CurrentProgram[MESA_SHADER_FRAGMENT] in _mesa_GetProgramPipelineiv()
759 ? pipe->CurrentProgram[MESA_SHADER_FRAGMENT]->Id : 0; in _mesa_GetProgramPipelineiv()
764 *params = pipe->CurrentProgram[MESA_SHADER_COMPUTE] in _mesa_GetProgramPipelineiv()
765 ? pipe->CurrentProgram[MESA_SHADER_COMPUTE]->Id : 0; in _mesa_GetProgramPipelineiv()
791 if (pipe->CurrentProgram[i]) { in program_stages_all_active()
792 if (prog->Id != pipe->CurrentProgram[i]->Id) { in program_stages_all_active()
819 struct gl_program *cur = pipe->CurrentProgram[i]; in program_stages_interleaved_illegally()
877 if (!program_stages_all_active(pipe, pipe->CurrentProgram[i])) { in _mesa_validate_program_pipeline()
915 if (!pipe->CurrentProgram[MESA_SHADER_VERTEX] in _mesa_validate_program_pipeline()
916 && (pipe->CurrentProgram[MESA_SHADER_GEOMETRY] || in _mesa_validate_program_pipeline()
917 pipe->CurrentProgram[MESA_SHADER_TESS_CTRL] || in _mesa_validate_program_pipeline()
918 pipe->CurrentProgram[MESA_SHADER_TESS_EVAL])) { in _mesa_validate_program_pipeline()
938 if (pipe->CurrentProgram[i] && in _mesa_validate_program_pipeline()
939 !pipe->CurrentProgram[i]->info.separate_shader) { in _mesa_validate_program_pipeline()
943 pipe->CurrentProgram[i]->Id); in _mesa_validate_program_pipeline()
961 if (pipe->CurrentProgram[i]) { in _mesa_validate_program_pipeline()