summaryrefslogtreecommitdiff
path: root/src/video_core/morton.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2018-12-27 20:43:06 -0500
committerGravatar bunnei2018-12-28 15:36:45 -0500
commit2020ba06e10d46eafa8ddd28460ebbdc87df3db5 (patch)
tree8ff5c75b22e2ff41af35434c1825955572ed42b1 /src/video_core/morton.cpp
parentMerge pull request #1958 from lioncash/audio (diff)
downloadyuzu-2020ba06e10d46eafa8ddd28460ebbdc87df3db5.tar.gz
yuzu-2020ba06e10d46eafa8ddd28460ebbdc87df3db5.tar.xz
yuzu-2020ba06e10d46eafa8ddd28460ebbdc87df3db5.zip
gpu: Remove PixelFormat G8R8U and G8R8S, as they do not seem to exist.
- Fixes UI rendering issues in The Legend of Zelda: Breath of the Wild.
Diffstat (limited to 'src/video_core/morton.cpp')
-rw-r--r--src/video_core/morton.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/morton.cpp b/src/video_core/morton.cpp
index 47e76d8fe..b68f4fb13 100644
--- a/src/video_core/morton.cpp
+++ b/src/video_core/morton.cpp
@@ -66,8 +66,6 @@ static constexpr ConversionArray morton_to_linear_fns = {
66 MortonCopy<true, PixelFormat::BC6H_UF16>, 66 MortonCopy<true, PixelFormat::BC6H_UF16>,
67 MortonCopy<true, PixelFormat::BC6H_SF16>, 67 MortonCopy<true, PixelFormat::BC6H_SF16>,
68 MortonCopy<true, PixelFormat::ASTC_2D_4X4>, 68 MortonCopy<true, PixelFormat::ASTC_2D_4X4>,
69 MortonCopy<true, PixelFormat::G8R8U>,
70 MortonCopy<true, PixelFormat::G8R8S>,
71 MortonCopy<true, PixelFormat::BGRA8>, 69 MortonCopy<true, PixelFormat::BGRA8>,
72 MortonCopy<true, PixelFormat::RGBA32F>, 70 MortonCopy<true, PixelFormat::RGBA32F>,
73 MortonCopy<true, PixelFormat::RG32F>, 71 MortonCopy<true, PixelFormat::RG32F>,
@@ -138,8 +136,6 @@ static constexpr ConversionArray linear_to_morton_fns = {
138 MortonCopy<false, PixelFormat::BC6H_SF16>, 136 MortonCopy<false, PixelFormat::BC6H_SF16>,
139 // TODO(Subv): Swizzling ASTC formats are not supported 137 // TODO(Subv): Swizzling ASTC formats are not supported
140 nullptr, 138 nullptr,
141 MortonCopy<false, PixelFormat::G8R8U>,
142 MortonCopy<false, PixelFormat::G8R8S>,
143 MortonCopy<false, PixelFormat::BGRA8>, 139 MortonCopy<false, PixelFormat::BGRA8>,
144 MortonCopy<false, PixelFormat::RGBA32F>, 140 MortonCopy<false, PixelFormat::RGBA32F>,
145 MortonCopy<false, PixelFormat::RG32F>, 141 MortonCopy<false, PixelFormat::RG32F>,