From 6ec68f66a9d3c5c9f3124373fffcf5cfe6a65910 Mon Sep 17 00:00:00 2001 From: squidbus <175574877+squidbus@users.noreply.github.com> Date: Fri, 10 Jan 2025 15:59:20 -0800 Subject: [PATCH] hotfix: Check correct template for setting binding divisor. --- src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp index 2d0b19bbe2..4ca3a7f272 100644 --- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp @@ -333,7 +333,7 @@ void GraphicsPipeline::GetVertexInputs(VertexInputs& attributes, ? vk::VertexInputRate::eVertex : vk::VertexInputRate::eInstance, }); - if constexpr (std::is_same_v) { + if constexpr (std::is_same_v) { bindings.back().divisor = 1; } guest_buffers.emplace_back(buffer);