summaryrefslogtreecommitdiffstats
path: root/src/video_core/compatible_formats.cpp
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2022-07-10 13:16:23 +0200
committerGitHub <noreply@github.com>2022-07-10 13:16:23 +0200
commit6c72b7f01109300f98a7ba6465285657f330df4c (patch)
treea6662d424de9e4e420e0cca15d41e02056ad58fa /src/video_core/compatible_formats.cpp
parentMerge pull request #8561 from Kelebek1/Audio-CoreTiming (diff)
parentrenderer_(gl/vk): Implement ASTC_10x6_UNORM (diff)
downloadyuzu-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.cpp6
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);