From 168713aecfb980928fe7d90c86b1a5c70643edf3 Mon Sep 17 00:00:00 2001 From: thefiddler Date: Sun, 27 Apr 2014 22:47:04 +0200 Subject: [PATCH] [GL] Added GetPName.Max*ImageUniforms These tokens were introduced in OpenGL 4.2 and 4.3. --- Source/Bind/Specifications/GL2/overrides.xml | 7 +++++ Source/OpenTK/Graphics/OpenGL/GLEnums.cs | 28 ++++++++++++++++++++ Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs | 28 ++++++++++++++++++++ 3 files changed, 63 insertions(+) diff --git a/Source/Bind/Specifications/GL2/overrides.xml b/Source/Bind/Specifications/GL2/overrides.xml index ec5496ff..5cd70424 100644 --- a/Source/Bind/Specifications/GL2/overrides.xml +++ b/Source/Bind/Specifications/GL2/overrides.xml @@ -3561,6 +3561,13 @@ + + + + + + + diff --git a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs index cd839cf6..f8a01332 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs @@ -38329,6 +38329,30 @@ namespace OpenTK.Graphics.OpenGL /// DrawIndirectBufferBinding = ((int)0x8F43) , /// + /// Original was GL_MAX_VERTEX_IMAGE_UNIFORMS = 0x90CA + /// + MaxVertexImageUniforms = ((int)0x90CA) , + /// + /// Original was GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS = 0x90CB + /// + MaxTessControlImageUniforms = ((int)0x90CB) , + /// + /// Original was GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS = 0x90CC + /// + MaxTessEvaluationImageUniforms = ((int)0x90CC) , + /// + /// Original was GL_MAX_GEOMETRY_IMAGE_UNIFORMS = 0x90CD + /// + MaxGeometryImageUniforms = ((int)0x90CD) , + /// + /// Original was GL_MAX_FRAGMENT_IMAGE_UNIFORMS = 0x90CE + /// + MaxFragmentImageUniforms = ((int)0x90CE) , + /// + /// Original was GL_MAX_COMBINED_IMAGE_UNIFORMS = 0x90CF + /// + MaxCombinedImageUniforms = ((int)0x90CF) , + /// /// Original was GL_TEXTURE_BINDING_2D_MULTISAMPLE = 0x9104 /// TextureBinding2DMultisample = ((int)0x9104) , @@ -38364,6 +38388,10 @@ namespace OpenTK.Graphics.OpenGL /// Original was GL_MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125 /// MaxFragmentInputComponents = ((int)0x9125) , + /// + /// Original was GL_MAX_COMPUTE_IMAGE_UNIFORMS = 0x91BD + /// + MaxComputeImageUniforms = ((int)0x91BD) , } /// diff --git a/Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs b/Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs index 8d92520c..c2098867 100644 --- a/Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs +++ b/Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs @@ -19864,6 +19864,30 @@ namespace OpenTK.Graphics.OpenGL4 /// DrawIndirectBufferBinding = ((int)0x8F43) , /// + /// Original was GL_MAX_VERTEX_IMAGE_UNIFORMS = 0x90CA + /// + MaxVertexImageUniforms = ((int)0x90CA) , + /// + /// Original was GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS = 0x90CB + /// + MaxTessControlImageUniforms = ((int)0x90CB) , + /// + /// Original was GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS = 0x90CC + /// + MaxTessEvaluationImageUniforms = ((int)0x90CC) , + /// + /// Original was GL_MAX_GEOMETRY_IMAGE_UNIFORMS = 0x90CD + /// + MaxGeometryImageUniforms = ((int)0x90CD) , + /// + /// Original was GL_MAX_FRAGMENT_IMAGE_UNIFORMS = 0x90CE + /// + MaxFragmentImageUniforms = ((int)0x90CE) , + /// + /// Original was GL_MAX_COMBINED_IMAGE_UNIFORMS = 0x90CF + /// + MaxCombinedImageUniforms = ((int)0x90CF) , + /// /// Original was GL_TEXTURE_BINDING_2D_MULTISAMPLE = 0x9104 /// TextureBinding2DMultisample = ((int)0x9104) , @@ -19899,6 +19923,10 @@ namespace OpenTK.Graphics.OpenGL4 /// Original was GL_MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125 /// MaxFragmentInputComponents = ((int)0x9125) , + /// + /// Original was GL_MAX_COMPUTE_IMAGE_UNIFORMS = 0x91BD + /// + MaxComputeImageUniforms = ((int)0x91BD) , } ///