]> git.tdb.fi Git - libs/gl.git/commit
Fix instance attribute description updates in VertexSetup on Vulkan
authorMikko Rasa <tdb@tdb.fi>
Thu, 17 Mar 2022 19:57:09 +0000 (21:57 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 17 Mar 2022 20:06:05 +0000 (22:06 +0200)
commitbb82b949ff134b07618c02bcd6d40e97fdecbf1a
tree4ead1efcfd168bf33dc9c0eec9f9379e855e50ea
parent0d94309bc07629feea62bd03837b6e21ccc15b6f
Fix instance attribute description updates in VertexSetup on Vulkan

It was ignoring padding attributes when calculating which index to use
for the first instance attribute, resulting in a bogus description.
source/backends/vulkan/vertexsetup_backend.cpp
source/backends/vulkan/vertexsetup_backend.h