hotfix: Check correct template for setting binding divisor.

This commit is contained in:
squidbus 2025-01-10 15:59:20 -08:00
parent cfaea1ea6d
commit 6ec68f66a9

View file

@ -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);