logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

glValidateProgramPipeline - validate a program pipeline object against current GL state

Associated Gets

glGetProgramPipeline() with parameter GL_VALIDATE_STATUS.

C Specification

voidglValidateProgramPipeline(GLuintpipeline);

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().

Name

       glValidateProgramPipeline - validate a program pipeline object against current GL state

Parameters

pipeline
           Specifies the name of a program pipeline object to validate.

See Also

glGenProgramPipelines(), glBindProgramPipeline(), glDeleteProgramPipelines()

Version Support

       ┌───────────────────────────┬───────────────────────────────────────────────────────────────────────┐
       │                           │                OpenGLVersion                                         │
       ├───────────────────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
       │ Function2.02.13.03.13.23.34.04.14.24.34.44.5 │
       │ /                         │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Feature                   │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Name                      │     │     │     │     │     │     │     │     │     │     │     │     │
       ├───────────────────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
       │ glValidateProgramPipeline │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │
       └───────────────────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘

See Also