Added UniformBlockReferencedByGeometryShader token to ActiveUniformBlockParameter. Fixes issue [#2616]: "ActiveUniformBlockParameter.UniformBlockReferencedByGeometryShader is missing".

This commit is contained in:
the_fiddler 2011-07-26 14:09:12 +00:00
parent 921944ce90
commit 585a07358e
2 changed files with 5 additions and 0 deletions

View file

@ -1230,6 +1230,7 @@
<use enum="ARB_uniform_buffer_object" token="UNIFORM_BLOCK_ACTIVE_UNIFORMS" />
<use enum="ARB_uniform_buffer_object" token="UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES" />
<use enum="ARB_uniform_buffer_object" token="UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER" />
<use enum="ARB_uniform_buffer_object" token="UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER" />
<use enum="ARB_uniform_buffer_object" token="UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER" />
<use enum="VERSION_4_0" token="UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER" />
<use enum="VERSION_4_0" token="UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER" />

View file

@ -236,6 +236,10 @@ namespace OpenTK.Graphics.OpenGL
/// </summary>
UniformBlockReferencedByVertexShader = ((int)0x8A44) ,
/// <summary>
/// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = 0x8A45
/// </summary>
UniformBlockReferencedByGeometryShader = ((int)0x8A45) ,
/// <summary>
/// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46
/// </summary>
UniformBlockReferencedByFragmentShader = ((int)0x8A46) ,