diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 09:46:07 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 06:01:09 +0200 |
commit | 9338599d7246a954a1ce25a7e97d80bc1062e1d9 (patch) | |
tree | a73b07e4d3fac447c3bafe41e493366fde6f023b /src/video_core/surface.cpp | |
parent | video_core: Implement RGBA16_SINT render target (diff) | |
download | yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar.gz yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar.bz2 yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar.lz yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar.xz yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar.zst yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.zip |
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 9c19e2838..b287fe83f 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp @@ -94,6 +94,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) switch (format) { case Tegra::RenderTargetFormat::RGBA32_FLOAT: return PixelFormat::RGBA32F; + case Tegra::RenderTargetFormat::RGBA32_SINT: + return PixelFormat::RGBA32I; case Tegra::RenderTargetFormat::RGBA32_UINT: return PixelFormat::RGBA32UI; case Tegra::RenderTargetFormat::RGBA16_UNORM: |