diff options
author | Fernando S <fsahmkow27@gmail.com> | 2022-07-10 13:16:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-10 13:16:23 +0200 |
commit | 6c72b7f01109300f98a7ba6465285657f330df4c (patch) | |
tree | a6662d424de9e4e420e0cca15d41e02056ad58fa /src/video_core/compatible_formats.cpp | |
parent | Merge pull request #8561 from Kelebek1/Audio-CoreTiming (diff) | |
parent | renderer_(gl/vk): Implement ASTC_10x6_UNORM (diff) | |
download | yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar.gz yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar.bz2 yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar.lz yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar.xz yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.tar.zst yuzu-6c72b7f01109300f98a7ba6465285657f330df4c.zip |
Diffstat (limited to 'src/video_core/compatible_formats.cpp')
-rw-r--r-- | src/video_core/compatible_formats.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/compatible_formats.cpp b/src/video_core/compatible_formats.cpp index 014d880e2..4e75f33ca 100644 --- a/src/video_core/compatible_formats.cpp +++ b/src/video_core/compatible_formats.cpp @@ -131,9 +131,12 @@ constexpr std::array VIEW_CLASS_ASTC_8x8_RGBA{ // PixelFormat::ASTC_2D_10X5_SRGB // Missing formats: -// PixelFormat::ASTC_2D_10X6_UNORM // PixelFormat::ASTC_2D_10X6_SRGB +constexpr std::array VIEW_CLASS_ASTC_10x6_RGBA{ + PixelFormat::ASTC_2D_10X6_UNORM, +}; + constexpr std::array VIEW_CLASS_ASTC_10x8_RGBA{ PixelFormat::ASTC_2D_10X8_UNORM, PixelFormat::ASTC_2D_10X8_SRGB, @@ -226,6 +229,7 @@ constexpr Table MakeViewTable() { EnableRange(view, VIEW_CLASS_ASTC_6x6_RGBA); EnableRange(view, VIEW_CLASS_ASTC_8x5_RGBA); EnableRange(view, VIEW_CLASS_ASTC_8x8_RGBA); + EnableRange(view, VIEW_CLASS_ASTC_10x6_RGBA); EnableRange(view, VIEW_CLASS_ASTC_10x8_RGBA); EnableRange(view, VIEW_CLASS_ASTC_10x10_RGBA); EnableRange(view, VIEW_CLASS_ASTC_12x12_RGBA); |