diff options
| author | 2019-10-28 01:36:58 -0300 | |
|---|---|---|
| committer | 2019-10-28 01:36:58 -0300 | |
| commit | c5d9589942b77c70c37982bd3b407abfdcca26a2 (patch) | |
| tree | 7cdcc51a16a51f40ef98c4e214aa6bb52778a0db /src/video_core/morton.cpp | |
| parent | Merge pull request #2971 from FernandoS27/new-scheduler-v2 (diff) | |
| parent | Video_Core: Implement texture format E5B9G9R9_SHAREDEXP. (diff) | |
| download | yuzu-c5d9589942b77c70c37982bd3b407abfdcca26a2.tar.gz yuzu-c5d9589942b77c70c37982bd3b407abfdcca26a2.tar.xz yuzu-c5d9589942b77c70c37982bd3b407abfdcca26a2.zip | |
Merge pull request #3037 from FernandoS27/new-formats
video_core: Implement texture format E5B9G9R9_SHAREDEXP.
Diffstat (limited to 'src/video_core/morton.cpp')
| -rw-r--r-- | src/video_core/morton.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/morton.cpp b/src/video_core/morton.cpp index fe5f08ace..2f2fe6859 100644 --- a/src/video_core/morton.cpp +++ b/src/video_core/morton.cpp | |||
| @@ -112,6 +112,7 @@ static constexpr ConversionArray morton_to_linear_fns = { | |||
| 112 | MortonCopy<true, PixelFormat::ASTC_2D_8X6_SRGB>, | 112 | MortonCopy<true, PixelFormat::ASTC_2D_8X6_SRGB>, |
| 113 | MortonCopy<true, PixelFormat::ASTC_2D_6X5>, | 113 | MortonCopy<true, PixelFormat::ASTC_2D_6X5>, |
| 114 | MortonCopy<true, PixelFormat::ASTC_2D_6X5_SRGB>, | 114 | MortonCopy<true, PixelFormat::ASTC_2D_6X5_SRGB>, |
| 115 | MortonCopy<true, PixelFormat::E5B9G9R9F>, | ||
| 115 | MortonCopy<true, PixelFormat::Z32F>, | 116 | MortonCopy<true, PixelFormat::Z32F>, |
| 116 | MortonCopy<true, PixelFormat::Z16>, | 117 | MortonCopy<true, PixelFormat::Z16>, |
| 117 | MortonCopy<true, PixelFormat::Z24S8>, | 118 | MortonCopy<true, PixelFormat::Z24S8>, |
| @@ -192,6 +193,7 @@ static constexpr ConversionArray linear_to_morton_fns = { | |||
| 192 | nullptr, | 193 | nullptr, |
| 193 | nullptr, | 194 | nullptr, |
| 194 | nullptr, | 195 | nullptr, |
| 196 | MortonCopy<false, PixelFormat::E5B9G9R9F>, | ||
| 195 | MortonCopy<false, PixelFormat::Z32F>, | 197 | MortonCopy<false, PixelFormat::Z32F>, |
| 196 | MortonCopy<false, PixelFormat::Z16>, | 198 | MortonCopy<false, PixelFormat::Z16>, |
| 197 | MortonCopy<false, PixelFormat::Z24S8>, | 199 | MortonCopy<false, PixelFormat::Z24S8>, |