summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormakigumo <makigumo@users.noreply.github.com>2020-03-13 11:26:13 +0100
committerGitHub <noreply@github.com>2020-03-13 11:26:13 +0100
commit54681909be764b72646427373f55b3a11caa2517 (patch)
treea69d60e5991349119fd9ce1c7c73e76356e350c6 /src
parentMerge pull request #3483 from namkazt/patch-1 (diff)
downloadyuzu-54681909be764b72646427373f55b3a11caa2517.tar
yuzu-54681909be764b72646427373f55b3a11caa2517.tar.gz
yuzu-54681909be764b72646427373f55b3a11caa2517.tar.bz2
yuzu-54681909be764b72646427373f55b3a11caa2517.tar.lz
yuzu-54681909be764b72646427373f55b3a11caa2517.tar.xz
yuzu-54681909be764b72646427373f55b3a11caa2517.tar.zst
yuzu-54681909be764b72646427373f55b3a11caa2517.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/maxwell_to_vk.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
index df3ac707c..a89139589 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -331,7 +331,9 @@ vk::Format VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttr
return vk::Format::eR16G16B16Unorm;
case Maxwell::VertexAttribute::Size::Size_16_16_16_16:
return vk::Format::eR16G16B16A16Unorm;
- default:
+ case Maxwell::VertexAttribute::Size::Size_10_10_10_2:
+ return vk::Format::eA2B10G10R10UnormPack32;
+ default:
break;
}
break;