Skip to content

Commit

Permalink
hotfix: Check correct template for setting binding divisor.
Browse files Browse the repository at this point in the history
  • Loading branch information
squidbus committed Jan 10, 2025
1 parent cfaea1e commit 6ec68f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ void GraphicsPipeline::GetVertexInputs(VertexInputs<Attribute>& attributes,
? vk::VertexInputRate::eVertex
: vk::VertexInputRate::eInstance,
});
if constexpr (std::is_same_v<Attribute, vk::VertexInputBindingDescription2EXT>) {
if constexpr (std::is_same_v<Binding, vk::VertexInputBindingDescription2EXT>) {
bindings.back().divisor = 1;
}
guest_buffers.emplace_back(buffer);
Expand Down

0 comments on commit 6ec68f6

Please sign in to comment.