diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-13 18:31:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 18:31:39 +0200 |
commit | 46fbf6dd92f37866f6ff58ec9d7d705d2a25cbab (patch) | |
tree | 34b7eaf166c5650bc633d1cf45b2bf59a1d48d5e /src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | |
parent | Merge pull request #1033 from MerryMage/interp (diff) | |
parent | Implement RG32UI and R32UI (diff) | |
download | yuzu-46fbf6dd92f37866f6ff58ec9d7d705d2a25cbab.tar yuzu-46fbf6dd92f37866f6ff58ec9d7d705d2a25cbab.tar.gz yuzu-46fbf6dd92f37866f6ff58ec9d7d705d2a25cbab.tar.bz2 yuzu-46fbf6dd92f37866f6ff58ec9d7d705d2a25cbab.tar.lz yuzu-46fbf6dd92f37866f6ff58ec9d7d705d2a25cbab.tar.xz yuzu-46fbf6dd92f37866f6ff58ec9d7d705d2a25cbab.tar.zst yuzu-46fbf6dd92f37866f6ff58ec9d7d705d2a25cbab.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp index d635550d2..4b48ab8e2 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp @@ -137,6 +137,8 @@ static constexpr std::array<FormatTuple, SurfaceParams::MaxPixelFormat> tex_form {GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV, ComponentType::UNorm, false}, // SRGBA8 {GL_RG8, GL_RG, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // RG8U {GL_RG8, GL_RG, GL_BYTE, ComponentType::SNorm, false}, // RG8S + {GL_RG32UI, GL_RG_INTEGER, GL_UNSIGNED_INT, ComponentType::UInt, false}, // RG32UI + {GL_R32UI, GL_RED_INTEGER, GL_UNSIGNED_INT, ComponentType::UInt, false}, // R32UI // DepthStencil formats {GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, ComponentType::UNorm, @@ -275,6 +277,8 @@ static constexpr std::array<void (*)(u32, u32, u32, std::vector<u8>&, Tegra::GPU MortonCopy<true, PixelFormat::SRGBA8>, MortonCopy<true, PixelFormat::RG8U>, MortonCopy<true, PixelFormat::RG8S>, + MortonCopy<true, PixelFormat::RG32UI>, + MortonCopy<true, PixelFormat::R32UI>, MortonCopy<true, PixelFormat::Z24S8>, MortonCopy<true, PixelFormat::S8Z24>, MortonCopy<true, PixelFormat::Z32F>, @@ -327,6 +331,8 @@ static constexpr std::array<void (*)(u32, u32, u32, std::vector<u8>&, Tegra::GPU MortonCopy<false, PixelFormat::SRGBA8>, MortonCopy<false, PixelFormat::RG8U>, MortonCopy<false, PixelFormat::RG8S>, + MortonCopy<false, PixelFormat::RG32UI>, + MortonCopy<false, PixelFormat::R32UI>, MortonCopy<false, PixelFormat::Z24S8>, MortonCopy<false, PixelFormat::S8Z24>, MortonCopy<false, PixelFormat::Z32F>, |