[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".
This commit is contained in:
thefiddler 2014-03-18 12:08:02 +01:00
parent 5882e5e27a
commit db913ca3f4
3 changed files with 36 additions and 0 deletions

View file

@ -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 file

@ -46667,6 +46667,22 @@ namespace OpenTK.Graphics.OpenGL
/// </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 file

@ -23633,6 +23633,22 @@ namespace OpenTK.Graphics.OpenGL4
/// </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) ,