Skip to content

Commit 6ec68f6

Browse files
committed
hotfix: Check correct template for setting binding divisor.
1 parent cfaea1e commit 6ec68f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ void GraphicsPipeline::GetVertexInputs(VertexInputs<Attribute>& attributes,
333333
? vk::VertexInputRate::eVertex
334334
: vk::VertexInputRate::eInstance,
335335
});
336-
if constexpr (std::is_same_v<Attribute, vk::VertexInputBindingDescription2EXT>) {
336+
if constexpr (std::is_same_v<Binding, vk::VertexInputBindingDescription2EXT>) {
337337
bindings.back().divisor = 1;
338338
}
339339
guest_buffers.emplace_back(buffer);

0 commit comments

Comments
 (0)