diff options
author | raven02 <jacky.kktsui@yahoo.com.hk> | 2018-09-15 17:48:02 +0200 |
---|---|---|
committer | raven02 <jacky.kktsui@yahoo.com.hk> | 2018-09-15 18:21:42 +0200 |
commit | 0019a36b41dae2afb23825ed88f90147d0633d37 (patch) | |
tree | c760d87c88e75df6d2d36f35072cb0ac0d141b0b /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Merge pull request #1310 from lioncash/kernel-ns (diff) | |
download | yuzu-0019a36b41dae2afb23825ed88f90147d0633d37.tar yuzu-0019a36b41dae2afb23825ed88f90147d0633d37.tar.gz yuzu-0019a36b41dae2afb23825ed88f90147d0633d37.tar.bz2 yuzu-0019a36b41dae2afb23825ed88f90147d0633d37.tar.lz yuzu-0019a36b41dae2afb23825ed88f90147d0633d37.tar.xz yuzu-0019a36b41dae2afb23825ed88f90147d0633d37.tar.zst yuzu-0019a36b41dae2afb23825ed88f90147d0633d37.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer_cache.h')
-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 57ea8593b..ef1a15888 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -316,6 +316,8 @@ struct SurfaceParams { return PixelFormat::R11FG11FB10F; case Tegra::RenderTargetFormat::B5G6R5_UNORM: return PixelFormat::B5G6R5U; + case Tegra::RenderTargetFormat::BGR5A1_UNORM: + return PixelFormat::A1B5G5R5U; case Tegra::RenderTargetFormat::RGBA32_UINT: return PixelFormat::RGBA32UI; case Tegra::RenderTargetFormat::R8_UNORM: @@ -576,6 +578,7 @@ struct SurfaceParams { case Tegra::RenderTargetFormat::RG16_UNORM: case Tegra::RenderTargetFormat::R16_UNORM: case Tegra::RenderTargetFormat::B5G6R5_UNORM: + case Tegra::RenderTargetFormat::BGR5A1_UNORM: case Tegra::RenderTargetFormat::RG8_UNORM: case Tegra::RenderTargetFormat::RGBA16_UNORM: return ComponentType::UNorm; |