From 010227e1490c01484903d4e9cf9038e74906ec7c Mon Sep 17 00:00:00 2001 From: Subv Date: Mon, 23 Apr 2018 10:50:28 -0500 Subject: GPU: Implement the RGB10_A2 RenderTarget format, it will use the same format as the A2BGR10 texture format. --- src/yuzu/debugger/graphics/graphics_surface.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/yuzu/debugger') diff --git a/src/yuzu/debugger/graphics/graphics_surface.cpp b/src/yuzu/debugger/graphics/graphics_surface.cpp index 1e4844b57..5fada74be 100644 --- a/src/yuzu/debugger/graphics/graphics_surface.cpp +++ b/src/yuzu/debugger/graphics/graphics_surface.cpp @@ -25,6 +25,8 @@ static Tegra::Texture::TextureFormat ConvertToTextureFormat( switch (render_target_format) { case Tegra::RenderTargetFormat::RGBA8_UNORM: return Tegra::Texture::TextureFormat::A8R8G8B8; + case Tegra::RenderTargetFormat::RGB10_A2_UNORM: + return Tegra::Texture::TextureFormat::A2B10G10R10; default: UNIMPLEMENTED_MSG("Unimplemented RT format"); } -- cgit v1.2.3