diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 04:53:48 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 01:01:09 -0300 |
commit | 1d20aac795857f8d28e7fc196473a90da4ced33d (patch) | |
tree | 3ffb19ef38a1420967a55c8181554f7abe766293 /src/video_core/surface.cpp | |
parent | 9338599d7246a954a1ce25a7e97d80bc1062e1d9 (diff) |
video_core: Implement RGBA32_SINT render target
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r-- | src/video_core/surface.cpp | 2 |
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) return PixelFormat::BGRA8_SRGB; case Tegra::RenderTargetFormat::RGB10_A2_UNORM: return PixelFormat::A2B10G10R10U; + case Tegra::RenderTargetFormat::RGB10_A2_UINT: + return PixelFormat::A2B10G10R10UI; case Tegra::RenderTargetFormat::RGBA8_UNORM: return PixelFormat::ABGR8U; case Tegra::RenderTargetFormat::RGBA8_SRGB: |