diff options
| author | Mat M <mathew1800@gmail.com> | 2020-02-25 17:47:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-25 17:47:14 -0500 |
| commit | cb35b369bb676512fd024c193ac808a1d2cd76bd (patch) | |
| tree | a5b6389d647c281bd8cd5bc92b4da4315f3970dc /src/video_core/surface.cpp | |
| parent | 0566dfddb5dda3855675d6da21d7d0ca99c0349e (diff) | |
| parent | 74984326b059c28a16093db0a1611f6be0adf91b (diff) | |
Merge pull request #3461 from ReinUsesLisp/r32i-rt
video_core/surface: Add R32_SINT render target format
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 1655ccf16e..9707c353d8 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp @@ -155,6 +155,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) return PixelFormat::R16I; case Tegra::RenderTargetFormat::R32_FLOAT: return PixelFormat::R32F; + case Tegra::RenderTargetFormat::R32_SINT: + return PixelFormat::R32I; case Tegra::RenderTargetFormat::R32_UINT: return PixelFormat::R32UI; case Tegra::RenderTargetFormat::RG32_UINT: |
