diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-03-16 01:24:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 01:24:53 +0100 |
commit | 7cc46a6faae50080e96a5ba5e8e0101e12573de8 (patch) | |
tree | 1811a5ff13e92377db955f1483d897a4e37d15ad /src/video_core/surface.cpp | |
parent | Merge pull request #3502 from namkazt/patch-3 (diff) | |
parent | video_core: Implement RGBA16_SNORM (diff) | |
download | yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.gz yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.bz2 yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.lz yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.xz yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.zst yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.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 9707c353d..cc7181229 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp @@ -111,6 +111,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) return PixelFormat::RGBA16F; case Tegra::RenderTargetFormat::RGBA16_UNORM: return PixelFormat::RGBA16U; + case Tegra::RenderTargetFormat::RGBA16_SNORM: + return PixelFormat::RGBA16S; case Tegra::RenderTargetFormat::RGBA16_UINT: return PixelFormat::RGBA16UI; case Tegra::RenderTargetFormat::RGBA32_FLOAT: |