Permalink
Browse files

[GL] Added missing [Rgba]16Snorm texture formats

See https://www.opengl.org/sdk/docs/man4/html/glTexImage2D.xhtml or the
4.4 spec, section 8.5, table "Sized internal color formats".
  • Loading branch information...
1 parent 5882e5e commit db913ca3f469fd8a0773821c79b74c19190ee746 @thefiddler thefiddler committed Mar 18, 2014
View
4 Source/Bind/Specifications/GL2/overrides.xml
@@ -4009,6 +4009,10 @@
<use enum="VERSION_3_1" token="RG8_SNORM" />
<use enum="VERSION_3_1" token="RGB8_SNORM" />
<use enum="VERSION_3_1" token="RGBA8_SNORM" />
+ <use enum="VERSION_3_1" token="R16_SNORM" />
+ <use enum="VERSION_3_1" token="RG16_SNORM" />
+ <use enum="VERSION_3_1" token="RGB16_SNORM" />
+ <use enum="VERSION_3_1" token="RGBA16_SNORM" />
<use enum="VERSION_3_3" token="RGB10_A2UI" />
<use enum="VERSION_4_3" token="COMPRESSED_RED_RGTC1" />
<use enum="VERSION_4_3" token="COMPRESSED_RG_RGTC2" />
View
16 Source/OpenTK/Graphics/OpenGL/GLEnums.cs
@@ -46667,6 +46667,22 @@ public enum PixelInternalFormat : int
/// </summary>
Rgba8Snorm = ((int)0x8F97) ,
/// <summary>
+ /// Original was GL_R16_SNORM = 0x8F98
+ /// </summary>
+ R16Snorm = ((int)0x8F98) ,
+ /// <summary>
+ /// Original was GL_RG16_SNORM = 0x8F99
+ /// </summary>
+ Rg16Snorm = ((int)0x8F99) ,
+ /// <summary>
+ /// Original was GL_RGB16_SNORM = 0x8F9A
+ /// </summary>
+ Rgb16Snorm = ((int)0x8F9A) ,
+ /// <summary>
+ /// Original was GL_RGBA16_SNORM = 0x8F9B
+ /// </summary>
+ Rgba16Snorm = ((int)0x8F9B) ,
+ /// <summary>
/// Original was GL_RGB10_A2UI = 0x906F
/// </summary>
Rgb10A2ui = ((int)0x906F) ,
View
16 Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs
@@ -23633,6 +23633,22 @@ public enum PixelInternalFormat : int
/// </summary>
Rgba8Snorm = ((int)0x8F97) ,
/// <summary>
+ /// Original was GL_R16_SNORM = 0x8F98
+ /// </summary>
+ R16Snorm = ((int)0x8F98) ,
+ /// <summary>
+ /// Original was GL_RG16_SNORM = 0x8F99
+ /// </summary>
+ Rg16Snorm = ((int)0x8F99) ,
+ /// <summary>
+ /// Original was GL_RGB16_SNORM = 0x8F9A
+ /// </summary>
+ Rgb16Snorm = ((int)0x8F9A) ,
+ /// <summary>
+ /// Original was GL_RGBA16_SNORM = 0x8F9B
+ /// </summary>
+ Rgba16Snorm = ((int)0x8F9B) ,
+ /// <summary>
/// Original was GL_RGB10_A2UI = 0x906F
/// </summary>
Rgb10A2ui = ((int)0x906F) ,

0 comments on commit db913ca

Please sign in to comment.