diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-17 15:49:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 15:49:00 +0200 |
commit | 3be048e50a2090caf1eeeb2373c7524ecc177ce8 (patch) | |
tree | 2e1c46294d015e4a634edee7adf0e9f11b4a8320 /src/video_core/renderer_opengl | |
parent | Merge pull request #1335 from lioncash/copy (diff) | |
parent | Implement RenderTargetFormat::BGR5A1_UNORM (Pokken Tournament DX) (diff) | |
download | yuzu-3be048e50a2090caf1eeeb2373c7524ecc177ce8.tar yuzu-3be048e50a2090caf1eeeb2373c7524ecc177ce8.tar.gz yuzu-3be048e50a2090caf1eeeb2373c7524ecc177ce8.tar.bz2 yuzu-3be048e50a2090caf1eeeb2373c7524ecc177ce8.tar.lz yuzu-3be048e50a2090caf1eeeb2373c7524ecc177ce8.tar.xz yuzu-3be048e50a2090caf1eeeb2373c7524ecc177ce8.tar.zst yuzu-3be048e50a2090caf1eeeb2373c7524ecc177ce8.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 0525e9a94..9e90b7380 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -319,6 +319,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: @@ -581,6 +583,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; |