Lines Matching refs:stages

222  * Bound program to severals stages of the pipeline
225 _mesa_UseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program)
235 pipeline, stages, program);
249 * "If stages is not the special value ALL_SHADER_BITS, and has a bit
261 if (stages != GL_ALL_SHADER_BITS && (stages & ~any_valid_stages) != 0) {
297 * shader stages in the pipeline program pipeline object are not
314 /* Enable individual stages from the program as requested by the
324 * stages, it is as if the pipeline object has no programmable stage
325 * configured for the indicated shader stages."
327 if ((stages & GL_VERTEX_SHADER_BIT) != 0)
330 if ((stages & GL_FRAGMENT_SHADER_BIT) != 0)
333 if ((stages & GL_GEOMETRY_SHADER_BIT) != 0)
336 if ((stages & GL_TESS_CONTROL_SHADER_BIT) != 0)
339 if ((stages & GL_TESS_EVALUATION_SHADER_BIT) != 0)
342 if ((stages & GL_COMPUTE_SHADER_BIT) != 0)
452 * that program is considered current for all stages. Otherwise, if
735 /* Look for programs bound to stages: A -> B -> A, with any intervening
736 * sequence of unrelated programs or empty stages.
741 /* Empty stages anywhere in the pipe are OK. Also we can be confident
745 * programs with the sames stages linked are not active for all linked
746 * stages.
788 * the shader stages that were present when the program was
792 * stage has all of its stages active. In other words, if the program
810 * - One program object is active for at least two shader stages
812 * stages for which the first program was active."
817 "Program is active for multiple shader stages with an "
831 * tessellation evaluation, or geometry stages with corresponding