diff options
| author | 2020-06-30 04:00:23 -0300 | |
|---|---|---|
| committer | 2020-07-13 01:01:08 -0300 | |
| commit | f29fede49c647ce336de2fb4f48aba25f968a882 (patch) | |
| tree | 221f82144265a6587440ee801b5d4662f1d49a27 /src/video_core/surface.cpp | |
| parent | video_core: Implement R8_SNORM render target (diff) | |
| download | yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.gz yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.xz yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.zip | |
video_core: Implement R8_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 6e9b496d3..f132f1b43 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp | |||
| @@ -166,6 +166,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) | |||
| 166 | return PixelFormat::R8U; | 166 | return PixelFormat::R8U; |
| 167 | case Tegra::RenderTargetFormat::R8_SNORM: | 167 | case Tegra::RenderTargetFormat::R8_SNORM: |
| 168 | return PixelFormat::R8S; | 168 | return PixelFormat::R8S; |
| 169 | case Tegra::RenderTargetFormat::R8_SINT: | ||
| 170 | return PixelFormat::R8I; | ||
| 169 | case Tegra::RenderTargetFormat::R8_UINT: | 171 | case Tegra::RenderTargetFormat::R8_UINT: |
| 170 | return PixelFormat::R8UI; | 172 | return PixelFormat::R8UI; |
| 171 | default: | 173 | default: |