diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-09-24 22:44:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 22:44:25 +0200 |
commit | 9a53173e4de2194a128a33764d3f50f02f358efa (patch) | |
tree | 6f6cf76701e48f6c83e105ab06b2e6f82627dbf9 /src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | |
parent | Merge pull request #7069 from lioncash/uuid (diff) | |
parent | CMakeLists: Update to clang format version 12 (diff) | |
download | yuzu-9a53173e4de2194a128a33764d3f50f02f358efa.tar yuzu-9a53173e4de2194a128a33764d3f50f02f358efa.tar.gz yuzu-9a53173e4de2194a128a33764d3f50f02f358efa.tar.bz2 yuzu-9a53173e4de2194a128a33764d3f50f02f358efa.tar.lz yuzu-9a53173e4de2194a128a33764d3f50f02f358efa.tar.xz yuzu-9a53173e4de2194a128a33764d3f50f02f358efa.tar.zst yuzu-9a53173e4de2194a128a33764d3f50f02f358efa.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp index 7c0f91007..11cd41ad7 100644 --- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp @@ -507,8 +507,9 @@ void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) { vertex_attributes.push_back({ .location = static_cast<u32>(index), .binding = 0, - .format = type == 1 ? VK_FORMAT_R32_SFLOAT - : type == 2 ? VK_FORMAT_R32_SINT : VK_FORMAT_R32_UINT, + .format = type == 1 ? VK_FORMAT_R32_SFLOAT + : type == 2 ? VK_FORMAT_R32_SINT + : VK_FORMAT_R32_UINT, .offset = 0, }); } |