diff options
| author | 2020-06-30 04:38:29 -0300 | |
|---|---|---|
| committer | 2020-07-13 01:01:09 -0300 | |
| commit | 95c0f5afe580943fc58d8787aeb27623daacead5 (patch) | |
| tree | befe4d5bc15e2db36badc22d843b42eb8fd3df06 /src/video_core/surface.cpp | |
| parent | video_core: Implement RGBA8_SINT render target (diff) | |
| download | yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.gz yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.xz yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.zip | |
video_core: Implement RGBA16_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 0db995367..9c19e2838 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp | |||
| @@ -100,6 +100,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) | |||
| 100 | return PixelFormat::RGBA16U; | 100 | return PixelFormat::RGBA16U; |
| 101 | case Tegra::RenderTargetFormat::RGBA16_SNORM: | 101 | case Tegra::RenderTargetFormat::RGBA16_SNORM: |
| 102 | return PixelFormat::RGBA16S; | 102 | return PixelFormat::RGBA16S; |
| 103 | case Tegra::RenderTargetFormat::RGBA16_SINT: | ||
| 104 | return PixelFormat::RGBA16I; | ||
| 103 | case Tegra::RenderTargetFormat::RGBA16_UINT: | 105 | case Tegra::RenderTargetFormat::RGBA16_UINT: |
| 104 | return PixelFormat::RGBA16UI; | 106 | return PixelFormat::RGBA16UI; |
| 105 | case Tegra::RenderTargetFormat::RGBA16_FLOAT: | 107 | case Tegra::RenderTargetFormat::RGBA16_FLOAT: |