diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-05-09 05:28:55 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-09 05:28:55 -0300 |
| commit | 7e376af8fcd60baaa127b459e83bf716067be233 (patch) | |
| tree | 074ebb06bf109a9277cc7e6f4b1a0a491adc8fd7 /src/video_core/renderer_opengl | |
| parent | a9ee6e346bf6457484d874851fcb5182dfb4e0f3 (diff) | |
| parent | 7909860d16118f3db5006ccd379c1dae27eb5a1b (diff) | |
Merge pull request #3839 from Morph1984/r8g8ui
texture: Implement R8G8UI
Diffstat (limited to 'src/video_core/renderer_opengl')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp index 2729d1265..94fbd2a22 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -83,6 +83,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format {GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV}, // RGBA8_SRGB {GL_RG8, GL_RG, GL_UNSIGNED_BYTE}, // RG8U {GL_RG8_SNORM, GL_RG, GL_BYTE}, // RG8S + {GL_RG8UI, GL_RG_INTEGER, GL_UNSIGNED_INT}, // RG8UI {GL_RG32UI, GL_RG_INTEGER, GL_UNSIGNED_INT}, // RG32UI {GL_RGB16F, GL_RGBA, GL_HALF_FLOAT}, // RGBX16F {GL_R32UI, GL_RED_INTEGER, GL_UNSIGNED_INT}, // R32UI |
