diff options
| author | 2020-06-30 04:13:46 -0300 | |
|---|---|---|
| committer | 2020-07-13 01:01:09 -0300 | |
| commit | e849d680480e07e430793fd9657a08b676655803 (patch) | |
| tree | 640b2cfed02f0e67750ff4ec4c8fc15e909a099f /src/video_core/surface.cpp | |
| parent | video_core: Implement R8_SINT render target (diff) | |
| download | yuzu-e849d680480e07e430793fd9657a08b676655803.tar.gz yuzu-e849d680480e07e430793fd9657a08b676655803.tar.xz yuzu-e849d680480e07e430793fd9657a08b676655803.zip | |
video_core: Implement RG8_SINT render target and fix RG8_UINT
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 f132f1b43..1f12163fe 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp | |||
| @@ -150,6 +150,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) | |||
| 150 | return PixelFormat::RG8U; | 150 | return PixelFormat::RG8U; |
| 151 | case Tegra::RenderTargetFormat::RG8_SNORM: | 151 | case Tegra::RenderTargetFormat::RG8_SNORM: |
| 152 | return PixelFormat::RG8S; | 152 | return PixelFormat::RG8S; |
| 153 | case Tegra::RenderTargetFormat::RG8_SINT: | ||
| 154 | return PixelFormat::RG8I; | ||
| 153 | case Tegra::RenderTargetFormat::RG8_UINT: | 155 | case Tegra::RenderTargetFormat::RG8_UINT: |
| 154 | return PixelFormat::RG8UI; | 156 | return PixelFormat::RG8UI; |
| 155 | case Tegra::RenderTargetFormat::R16_UNORM: | 157 | case Tegra::RenderTargetFormat::R16_UNORM: |