mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-15 03:15:13 +00:00
hotfix: Check correct template for setting binding divisor.
This commit is contained in:
parent
cfaea1ea6d
commit
6ec68f66a9
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue