diff options
| author | 2020-03-12 21:42:33 -0300 | |
|---|---|---|
| committer | 2020-03-12 21:42:33 -0300 | |
| commit | 4dcca90ef436b2177efa1108ee2504700bf014b4 (patch) | |
| tree | 5e8edc95cc7828b3b604449cebf56d6f5d6c58c9 /src/video_core/surface.cpp | |
| parent | Merge pull request #3497 from FernandoS27/microprogfile-extend (diff) | |
| download | yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.gz yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.xz yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.zip | |
video_core: Implement RGBA16_SNORM
Implement RGBA16_SNORM with the current API. Nothing special here.
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) | |||
| 111 | return PixelFormat::RGBA16F; | 111 | return PixelFormat::RGBA16F; |
| 112 | case Tegra::RenderTargetFormat::RGBA16_UNORM: | 112 | case Tegra::RenderTargetFormat::RGBA16_UNORM: |
| 113 | return PixelFormat::RGBA16U; | 113 | return PixelFormat::RGBA16U; |
| 114 | case Tegra::RenderTargetFormat::RGBA16_SNORM: | ||
| 115 | return PixelFormat::RGBA16S; | ||
| 114 | case Tegra::RenderTargetFormat::RGBA16_UINT: | 116 | case Tegra::RenderTargetFormat::RGBA16_UINT: |
| 115 | return PixelFormat::RGBA16UI; | 117 | return PixelFormat::RGBA16UI; |
| 116 | case Tegra::RenderTargetFormat::RGBA32_FLOAT: | 118 | case Tegra::RenderTargetFormat::RGBA32_FLOAT: |