diff options
| author | 2020-06-30 03:51:42 -0300 | |
|---|---|---|
| committer | 2020-07-13 01:01:08 -0300 | |
| commit | fd33e996e0d6d441917446f7a9ec854b0a79a909 (patch) | |
| tree | fcc3d6086372cb7b04f2ed494ea60ce30298dfc2 /src/video_core/morton.cpp | |
| parent | video_core/surface: Remove explicit values on PixelFormat's definition (diff) | |
| download | yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.gz yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.xz yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.zip | |
video_core: Implement R8_SNORM render target
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 836b25c1d..9b569afc8 100644 --- a/src/video_core/morton.cpp +++ b/src/video_core/morton.cpp | |||
| @@ -48,6 +48,7 @@ static constexpr ConversionArray morton_to_linear_fns = { | |||
| 48 | MortonCopy<true, PixelFormat::A2B10G10R10U>, | 48 | MortonCopy<true, PixelFormat::A2B10G10R10U>, |
| 49 | MortonCopy<true, PixelFormat::A1B5G5R5U>, | 49 | MortonCopy<true, PixelFormat::A1B5G5R5U>, |
| 50 | MortonCopy<true, PixelFormat::R8U>, | 50 | MortonCopy<true, PixelFormat::R8U>, |
| 51 | MortonCopy<true, PixelFormat::R8S>, | ||
| 51 | MortonCopy<true, PixelFormat::R8UI>, | 52 | MortonCopy<true, PixelFormat::R8UI>, |
| 52 | MortonCopy<true, PixelFormat::RGBA16F>, | 53 | MortonCopy<true, PixelFormat::RGBA16F>, |
| 53 | MortonCopy<true, PixelFormat::RGBA16U>, | 54 | MortonCopy<true, PixelFormat::RGBA16U>, |
| @@ -131,6 +132,7 @@ static constexpr ConversionArray linear_to_morton_fns = { | |||
| 131 | MortonCopy<false, PixelFormat::A2B10G10R10U>, | 132 | MortonCopy<false, PixelFormat::A2B10G10R10U>, |
| 132 | MortonCopy<false, PixelFormat::A1B5G5R5U>, | 133 | MortonCopy<false, PixelFormat::A1B5G5R5U>, |
| 133 | MortonCopy<false, PixelFormat::R8U>, | 134 | MortonCopy<false, PixelFormat::R8U>, |
| 135 | MortonCopy<false, PixelFormat::R8S>, | ||
| 134 | MortonCopy<false, PixelFormat::R8UI>, | 136 | MortonCopy<false, PixelFormat::R8UI>, |
| 135 | MortonCopy<false, PixelFormat::RGBA16F>, | 137 | MortonCopy<false, PixelFormat::RGBA16F>, |
| 136 | MortonCopy<false, PixelFormat::RGBA16S>, | 138 | MortonCopy<false, PixelFormat::RGBA16S>, |