glValidateProgramPipeline

glValidateProgramPipeline: man4/glValidateProgramPipeline.xml

glValidateProgramPipeline instructs the implementation to validate the shader executables contained in pipeline against the current GL state. The implementation may use this as an opportunity to perform any internal shader modifications that may be required to ensure correct operation of the installed shaders given the current GL state. After a program pipeline has been validated, its validation status is set to GL_TRUE. The validation status of a program pipeline object may be queried by calling glGetProgramPipeline with parameter GL_VALIDATE_STATUS. If pipeline is a name previously returned from a call to glGenProgramPipelines but that has not yet been bound by a call to glBindProgramPipeline, a new program pipeline object is created with name pipeline and the default state vector.

@OpenGL_Version(OGLIntroducedIn.V4P1)
@OpenGL_Extension("GL_ARB_separate_shader_objects")
fn_glValidateProgramPipeline glValidateProgramPipeline;

See Also

glGenProgramPipelines, glBindProgramPipeline, glDeleteProgramPipelines

Meta