diff options
author | Mai M <mathew1800@gmail.com> | 2022-02-26 06:09:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 06:09:44 +0100 |
commit | 91d802f68d96fd38b86335d60a7a1c5a8aec6346 (patch) | |
tree | e7a4e1f37ac70aae894d1efba97eb810c79e8497 /src/video_core/renderer_vulkan | |
parent | Merge pull request #7939 from asLody/fb-format-gbra8 (diff) | |
parent | maxwell_to_(gl/vk): Add 11_11_10 float vertex format (diff) | |
download | yuzu-91d802f68d96fd38b86335d60a7a1c5a8aec6346.tar yuzu-91d802f68d96fd38b86335d60a7a1c5a8aec6346.tar.gz yuzu-91d802f68d96fd38b86335d60a7a1c5a8aec6346.tar.bz2 yuzu-91d802f68d96fd38b86335d60a7a1c5a8aec6346.tar.lz yuzu-91d802f68d96fd38b86335d60a7a1c5a8aec6346.tar.xz yuzu-91d802f68d96fd38b86335d60a7a1c5a8aec6346.tar.zst yuzu-91d802f68d96fd38b86335d60a7a1c5a8aec6346.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 2 |
1 files changed, 2 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 751e4792b..1c136c410 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp @@ -495,6 +495,8 @@ VkFormat VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttrib return VK_FORMAT_R32G32B32_SFLOAT; case Maxwell::VertexAttribute::Size::Size_32_32_32_32: return VK_FORMAT_R32G32B32A32_SFLOAT; + case Maxwell::VertexAttribute::Size::Size_11_11_10: + return VK_FORMAT_B10G11R11_UFLOAT_PACK32; default: break; } |