diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-08 07:22:48 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-08-08 07:48:27 +0200 |
commit | aaf8d9ac2f0ec6de5f0393cf5935481143c184bf (patch) | |
tree | f740f7e152995a21d0baa097317b8ca2a020bdd3 /src/video_core/renderer_opengl | |
parent | Merge pull request #964 from Hexagon12/lower-logs (diff) | |
download | yuzu-aaf8d9ac2f0ec6de5f0393cf5935481143c184bf.tar yuzu-aaf8d9ac2f0ec6de5f0393cf5935481143c184bf.tar.gz yuzu-aaf8d9ac2f0ec6de5f0393cf5935481143c184bf.tar.bz2 yuzu-aaf8d9ac2f0ec6de5f0393cf5935481143c184bf.tar.lz yuzu-aaf8d9ac2f0ec6de5f0393cf5935481143c184bf.tar.xz yuzu-aaf8d9ac2f0ec6de5f0393cf5935481143c184bf.tar.zst yuzu-aaf8d9ac2f0ec6de5f0393cf5935481143c184bf.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 3 |
1 files changed, 3 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 0c6652c7a..4168129f9 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -221,6 +221,8 @@ struct SurfaceParams { return PixelFormat::RG32F; case Tegra::RenderTargetFormat::R11G11B10_FLOAT: return PixelFormat::R11FG11FB10F; + case Tegra::RenderTargetFormat::B5G6R5_UNORM: + return PixelFormat::B5G6R5; case Tegra::RenderTargetFormat::RGBA32_UINT: return PixelFormat::RGBA32UI; case Tegra::RenderTargetFormat::R8_UNORM: @@ -441,6 +443,7 @@ struct SurfaceParams { case Tegra::RenderTargetFormat::RGB10_A2_UNORM: case Tegra::RenderTargetFormat::R8_UNORM: case Tegra::RenderTargetFormat::RG16_UNORM: + case Tegra::RenderTargetFormat::B5G6R5_UNORM: return ComponentType::UNorm; case Tegra::RenderTargetFormat::RG16_SNORM: return ComponentType::SNorm; |