diff options
| author | 2020-06-30 04:53:48 -0300 | |
|---|---|---|
| committer | 2020-07-13 01:01:09 -0300 | |
| commit | 1d20aac795857f8d28e7fc196473a90da4ced33d (patch) | |
| tree | 3ffb19ef38a1420967a55c8181554f7abe766293 /src/video_core/surface.cpp | |
| parent | video_core: Implement RGBA32_SINT render target (diff) | |
| download | yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.gz yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.xz yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.zip | |
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) | |||
| 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: |