Fix binding field of VkVertexInputBindingDivisorDescriptionEXT

This commit is contained in:
Lionel Landwerlin
2022-11-24 18:52:39 +02:00
committed by Baldur Karlsson
parent 839e9f609f
commit 2308bf7bd8
+1 -1
View File
@@ -650,7 +650,7 @@ void VulkanShaderCache::MakeGraphicsPipelineInfo(VkGraphicsPipelineCreateInfo &p
if(pipeInfo.vertexBindings[i].perInstance)
{
uint32_t instIdx = vertexDivisor.vertexBindingDivisorCount++;
vibindDivisors[instIdx].binding = i;
vibindDivisors[instIdx].binding = pipeInfo.vertexBindings[i].vbufferBinding;
vibindDivisors[instIdx].divisor = pipeInfo.vertexBindings[i].instanceDivisor;
}
}