diff options
author | Subv <subv2112@gmail.com> | 2018-04-23 17:50:28 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-04-23 17:50:28 +0200 |
commit | 010227e1490c01484903d4e9cf9038e74906ec7c (patch) | |
tree | 79d0484b8307e2282e9a48e84786984c9ce6d66e /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Merge pull request #378 from Subv/a2bgr10 (diff) | |
download | yuzu-010227e1490c01484903d4e9cf9038e74906ec7c.tar yuzu-010227e1490c01484903d4e9cf9038e74906ec7c.tar.gz yuzu-010227e1490c01484903d4e9cf9038e74906ec7c.tar.bz2 yuzu-010227e1490c01484903d4e9cf9038e74906ec7c.tar.lz yuzu-010227e1490c01484903d4e9cf9038e74906ec7c.tar.xz yuzu-010227e1490c01484903d4e9cf9038e74906ec7c.tar.zst yuzu-010227e1490c01484903d4e9cf9038e74906ec7c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index e4cb3390f..bf0fabb29 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -106,6 +106,8 @@ struct SurfaceParams { switch (format) { case Tegra::RenderTargetFormat::RGBA8_UNORM: return PixelFormat::ABGR8; + case Tegra::RenderTargetFormat::RGB10_A2_UNORM: + return PixelFormat::A2B10G10R10; default: NGLOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format)); UNREACHABLE(); |