table of contents
GLVALIDATEPROGRAMPIP(3G) | [FIXME: manual] | GLVALIDATEPROGRAMPIP(3G) |
NAME¶
glValidateProgramPipeline - validate a program pipeline object against current GL state
C SPECIFICATION¶
void glValidateProgramPipeline(GLuint pipeline);
PARAMETERS¶
pipeline
DESCRIPTION¶
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.
ERRORS¶
GL_INVALID_OPERATION is generated if pipeline is not a name previously returned from a call to glGenProgramPipelines() or if such a name has been deleted by a call to glDeleteProgramPipelines().
ASSOCIATED GETS¶
glGetProgramPipeline() with parameter GL_VALIDATE_STATUS.
VERSION SUPPORT¶
OpenGL Version | ||||||||||||
Function / Feature Name | 2.0 | 2.1 | 3.0 | 3.1 | 3.2 | 3.3 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5 |
glValidateProgramPipeline | - | - | - | - | - | - | - | ✔ | ✔ | ✔ | ✔ | ✔ |
SEE ALSO¶
glGenProgramPipelines(), glBindProgramPipeline(), glDeleteProgramPipelines()
COPYRIGHT¶
Copyright © 2010-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
COPYRIGHT¶
Copyright © 2010-2014 Khronos Group
04/12/2021 | [FIXME: source] |