summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2021-12-15 05:42:44 +0100
committerGitHub <noreply@github.com>2021-12-15 05:42:44 +0100
commit822259a3f20d6b8ef4228df95a1a90d85f3cf717 (patch)
treeb18a2e5ae516c75c9f2ed21d9c48ee1c103d8c0d /src
parentMerge pull request #7579 from Morph1984/swkbd-oob-array-access (diff)
parentmaxwell_to_vk: Add ASTC_2D_5X4_UNORM (diff)
downloadyuzu-822259a3f20d6b8ef4228df95a1a90d85f3cf717.tar
yuzu-822259a3f20d6b8ef4228df95a1a90d85f3cf717.tar.gz
yuzu-822259a3f20d6b8ef4228df95a1a90d85f3cf717.tar.bz2
yuzu-822259a3f20d6b8ef4228df95a1a90d85f3cf717.tar.lz
yuzu-822259a3f20d6b8ef4228df95a1a90d85f3cf717.tar.xz
yuzu-822259a3f20d6b8ef4228df95a1a90d85f3cf717.tar.zst
yuzu-822259a3f20d6b8ef4228df95a1a90d85f3cf717.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/maxwell_to_vk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
index e38cfbc6c..751e4792b 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -176,8 +176,8 @@ struct FormatTuple {
{VK_FORMAT_R32_UINT, Attachable | Storage}, // R32_UINT
{VK_FORMAT_R32_SINT, Attachable | Storage}, // R32_SINT
{VK_FORMAT_ASTC_8x8_UNORM_BLOCK}, // ASTC_2D_8X8_UNORM
- {VK_FORMAT_UNDEFINED}, // ASTC_2D_8X5_UNORM
- {VK_FORMAT_UNDEFINED}, // ASTC_2D_5X4_UNORM
+ {VK_FORMAT_ASTC_8x5_UNORM_BLOCK}, // ASTC_2D_8X5_UNORM
+ {VK_FORMAT_ASTC_5x4_UNORM_BLOCK}, // ASTC_2D_5X4_UNORM
{VK_FORMAT_B8G8R8A8_SRGB, Attachable}, // B8G8R8A8_SRGB
{VK_FORMAT_BC1_RGBA_SRGB_BLOCK}, // BC1_RGBA_SRGB
{VK_FORMAT_BC2_SRGB_BLOCK}, // BC2_SRGB