summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index b287fe83f..ea1e20de7 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -122,6 +122,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
122 return PixelFormat::BGRA8_SRGB; 122 return PixelFormat::BGRA8_SRGB;
123 case Tegra::RenderTargetFormat::RGB10_A2_UNORM: 123 case Tegra::RenderTargetFormat::RGB10_A2_UNORM:
124 return PixelFormat::A2B10G10R10U; 124 return PixelFormat::A2B10G10R10U;
125 case Tegra::RenderTargetFormat::RGB10_A2_UINT:
126 return PixelFormat::A2B10G10R10UI;
125 case Tegra::RenderTargetFormat::RGBA8_UNORM: 127 case Tegra::RenderTargetFormat::RGBA8_UNORM:
126 return PixelFormat::ABGR8U; 128 return PixelFormat::ABGR8U;
127 case Tegra::RenderTargetFormat::RGBA8_SRGB: 129 case Tegra::RenderTargetFormat::RGBA8_SRGB: