diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-13 06:34:20 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-08-14 00:20:07 +0200 |
commit | 6e52f37d5ba4a11bcbcfbc2840554e3b7705a2c7 (patch) | |
tree | d8aac4d2816df99c2f1244d00ec806a9ae8571d5 /src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | |
parent | Merge pull request #1052 from ogniK5377/xeno (diff) | |
download | yuzu-6e52f37d5ba4a11bcbcfbc2840554e3b7705a2c7.tar yuzu-6e52f37d5ba4a11bcbcfbc2840554e3b7705a2c7.tar.gz yuzu-6e52f37d5ba4a11bcbcfbc2840554e3b7705a2c7.tar.bz2 yuzu-6e52f37d5ba4a11bcbcfbc2840554e3b7705a2c7.tar.lz yuzu-6e52f37d5ba4a11bcbcfbc2840554e3b7705a2c7.tar.xz yuzu-6e52f37d5ba4a11bcbcfbc2840554e3b7705a2c7.tar.zst yuzu-6e52f37d5ba4a11bcbcfbc2840554e3b7705a2c7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 3 |
1 files changed, 3 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 4b48ab8e2..b6329d2dc 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp @@ -101,6 +101,7 @@ static constexpr std::array<FormatTuple, SurfaceParams::MaxPixelFormat> tex_form {GL_R8, GL_RED, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // R8 {GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE, ComponentType::UInt, false}, // R8UI {GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT, ComponentType::Float, false}, // RGBA16F + {GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, ComponentType::UNorm, false}, // RGBA16U {GL_RGBA16UI, GL_RGBA, GL_UNSIGNED_SHORT, ComponentType::UInt, false}, // RGBA16UI {GL_R11F_G11F_B10F, GL_RGB, GL_UNSIGNED_INT_10F_11F_11F_REV, ComponentType::Float, false}, // R11FG11FB10F @@ -247,6 +248,7 @@ static constexpr std::array<void (*)(u32, u32, u32, std::vector<u8>&, Tegra::GPU MortonCopy<true, PixelFormat::R8>, MortonCopy<true, PixelFormat::R8UI>, MortonCopy<true, PixelFormat::RGBA16F>, + MortonCopy<true, PixelFormat::RGBA16U>, MortonCopy<true, PixelFormat::RGBA16UI>, MortonCopy<true, PixelFormat::R11FG11FB10F>, MortonCopy<true, PixelFormat::RGBA32UI>, @@ -299,6 +301,7 @@ static constexpr std::array<void (*)(u32, u32, u32, std::vector<u8>&, Tegra::GPU MortonCopy<false, PixelFormat::R8>, MortonCopy<false, PixelFormat::R8UI>, MortonCopy<false, PixelFormat::RGBA16F>, + MortonCopy<false, PixelFormat::RGBA16U>, MortonCopy<false, PixelFormat::RGBA16UI>, MortonCopy<false, PixelFormat::R11FG11FB10F>, MortonCopy<false, PixelFormat::RGBA32UI>, |