diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-15 09:06:30 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-15 09:06:30 +0200 |
commit | 3036067047cc47f2ea41ec1cc82b725851e38d83 (patch) | |
tree | ee7ab3b1158ed0edccc11aec4d74d01a2d3ba6de /src | |
parent | maxwell_to_vk: Add missing breaks (diff) | |
download | yuzu-3036067047cc47f2ea41ec1cc82b725851e38d83.tar yuzu-3036067047cc47f2ea41ec1cc82b725851e38d83.tar.gz yuzu-3036067047cc47f2ea41ec1cc82b725851e38d83.tar.bz2 yuzu-3036067047cc47f2ea41ec1cc82b725851e38d83.tar.lz yuzu-3036067047cc47f2ea41ec1cc82b725851e38d83.tar.xz yuzu-3036067047cc47f2ea41ec1cc82b725851e38d83.tar.zst yuzu-3036067047cc47f2ea41ec1cc82b725851e38d83.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp index 395ac32e0..8681b821f 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp @@ -371,6 +371,14 @@ VkFormat VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttrib return VK_FORMAT_R8G8B8_UINT; case Maxwell::VertexAttribute::Size::Size_8_8_8_8: return VK_FORMAT_R8G8B8A8_UINT; + case Maxwell::VertexAttribute::Size::Size_16: + return VK_FORMAT_R16_UINT; + case Maxwell::VertexAttribute::Size::Size_16_16: + return VK_FORMAT_R16G16_UINT; + case Maxwell::VertexAttribute::Size::Size_16_16_16: + return VK_FORMAT_R16G16B16_UINT; + case Maxwell::VertexAttribute::Size::Size_16_16_16_16: + return VK_FORMAT_R16G16B16A16_UINT; case Maxwell::VertexAttribute::Size::Size_32: return VK_FORMAT_R32_UINT; case Maxwell::VertexAttribute::Size::Size_32_32: |