diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 04:46:07 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 01:01:09 -0300 |
commit | 9338599d7246a954a1ce25a7e97d80bc1062e1d9 (patch) | |
tree | a73b07e4d3fac447c3bafe41e493366fde6f023b /src/video_core/surface.cpp | |
parent | 95c0f5afe580943fc58d8787aeb27623daacead5 (diff) |
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 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: |