diff options
| author | Filoppi <filippotarpini@hotmail.it> | 2023-06-08 03:17:20 +0300 |
|---|---|---|
| committer | Filoppi <filippotarpini@hotmail.it> | 2023-06-08 03:17:20 +0300 |
| commit | cdc53c046b47e8aaef70637dfdc8dffc22b5e4ac (patch) | |
| tree | 7da2d93aed8fe255ff13edb632599676bce590b7 /Source/Core/Common | |
| parent | 6743ca8e098268e7a11f26d626a15a09bd342577 (diff) | |
Video: add R10B10G10A2 and R16G16B16A16F texture types (needed by PR 11850)
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/GL/GLExtensions/gl_1_1.h | 1 | ||||
| -rw-r--r-- | Source/Core/Common/GL/GLExtensions/gl_3_0.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/Common/GL/GLExtensions/gl_1_1.h b/Source/Core/Common/GL/GLExtensions/gl_1_1.h index 0a18c255ac..19cb74569c 100644 --- a/Source/Core/Common/GL/GLExtensions/gl_1_1.h +++ b/Source/Core/Common/GL/GLExtensions/gl_1_1.h @@ -21,6 +21,7 @@ #define GL_INT 0x1404 #define GL_UNSIGNED_INT 0x1405 #define GL_FLOAT 0x1406 +#define GL_HALF_FLOAT 0x140B #define GL_2_BYTES 0x1407 #define GL_3_BYTES 0x1408 #define GL_4_BYTES 0x1409 diff --git a/Source/Core/Common/GL/GLExtensions/gl_3_0.h b/Source/Core/Common/GL/GLExtensions/gl_3_0.h index d6d1cd6ab0..ff7dc38729 100644 --- a/Source/Core/Common/GL/GLExtensions/gl_3_0.h +++ b/Source/Core/Common/GL/GLExtensions/gl_3_0.h @@ -71,6 +71,7 @@ #define GL_RGB16I 0x8D89 #define GL_RGBA8I 0x8D8E #define GL_RGB8I 0x8D8F +#define GL_RGB10_A2 0x8059 #define GL_RED_INTEGER 0x8D94 #define GL_GREEN_INTEGER 0x8D95 #define GL_BLUE_INTEGER 0x8D96 @@ -108,6 +109,7 @@ #define GL_DEPTH_COMPONENT32F 0x8CAC #define GL_DEPTH32F_STENCIL8 0x8CAD #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD +#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 |
