diff options
author | Dan <dan@wadoku.de> | 2020-04-30 23:39:16 +0200 |
---|---|---|
committer | Dan <dan@wadoku.de> | 2020-04-30 23:39:16 +0200 |
commit | 96ee1b42bce951f96a7bbbba3602fda31e84786e (patch) | |
tree | 6769132f0a7613909c15294826ddcaa19ccdd12f /src/video_core | |
parent | Merge pull request #3823 from ogniK5377/setvrmode (diff) | |
download | yuzu-96ee1b42bce951f96a7bbbba3602fda31e84786e.tar yuzu-96ee1b42bce951f96a7bbbba3602fda31e84786e.tar.gz yuzu-96ee1b42bce951f96a7bbbba3602fda31e84786e.tar.bz2 yuzu-96ee1b42bce951f96a7bbbba3602fda31e84786e.tar.lz yuzu-96ee1b42bce951f96a7bbbba3602fda31e84786e.tar.xz yuzu-96ee1b42bce951f96a7bbbba3602fda31e84786e.tar.zst yuzu-96ee1b42bce951f96a7bbbba3602fda31e84786e.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 16 |
1 files changed, 14 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 8681b821f..5a4feb56c 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp @@ -345,8 +345,6 @@ VkFormat VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttrib break; case Maxwell::VertexAttribute::Type::SignedInt: switch (size) { - case Maxwell::VertexAttribute::Size::Size_16_16_16_16: - return VK_FORMAT_R16G16B16A16_SINT; case Maxwell::VertexAttribute::Size::Size_8: return VK_FORMAT_R8_SINT; case Maxwell::VertexAttribute::Size::Size_8_8: @@ -355,8 +353,22 @@ VkFormat VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttrib return VK_FORMAT_R8G8B8_SINT; case Maxwell::VertexAttribute::Size::Size_8_8_8_8: return VK_FORMAT_R8G8B8A8_SINT; + case Maxwell::VertexAttribute::Size::Size_16: + return VK_FORMAT_R16_SINT; + case Maxwell::VertexAttribute::Size::Size_16_16: + return VK_FORMAT_R16G16_SINT; + case Maxwell::VertexAttribute::Size::Size_16_16_16: + return VK_FORMAT_R16G16B16_SINT; + case Maxwell::VertexAttribute::Size::Size_16_16_16_16: + return VK_FORMAT_R16G16B16A16_SINT; case Maxwell::VertexAttribute::Size::Size_32: return VK_FORMAT_R32_SINT; + case Maxwell::VertexAttribute::Size::Size_32_32: + return VK_FORMAT_R32G32_SINT; + case Maxwell::VertexAttribute::Size::Size_32_32_32: + return VK_FORMAT_R32G32B32_SINT; + case Maxwell::VertexAttribute::Size::Size_32_32_32_32: + return VK_FORMAT_R32G32B32A32_SINT; default: break; } |