mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
fixed vertexBindingDescription (#465)
This commit is contained in:
parent
499d4bb33d
commit
196de24461
@ -122,9 +122,10 @@ namespace vk
|
||||
|
||||
std::vector<vk::VertexInputAttributeDescription> vertexInputAttributeDescriptions;
|
||||
vk::PipelineVertexInputStateCreateInfo pipelineVertexInputStateCreateInfo;
|
||||
vk::VertexInputBindingDescription vertexInputBindingDescription(0, vertexStride);
|
||||
|
||||
if (0 < vertexStride)
|
||||
{
|
||||
vk::VertexInputBindingDescription vertexInputBindingDescription(0, vertexStride);
|
||||
vertexInputAttributeDescriptions.reserve(vertexInputAttributeFormatOffset.size());
|
||||
for (uint32_t i=0 ; i<vertexInputAttributeFormatOffset.size() ; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user