summaryrefslogtreecommitdiffstats
path: root/src/video_core/compatible_formats.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-07-01 04:04:23 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-07-06 02:33:43 +0200
commitaec129c1ab333292c37e28bd6b76670e9d0a1acf (patch)
treea2a537d2f04c4a7d6924064b93ad348d398f67a5 /src/video_core/compatible_formats.cpp
parentMerge pull request #8486 from liushuyu/github-actions-verify (diff)
downloadyuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar
yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar.gz
yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar.bz2
yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar.lz
yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar.xz
yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.tar.zst
yuzu-aec129c1ab333292c37e28bd6b76670e9d0a1acf.zip
Diffstat (limited to '')
-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);