mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-18 13:37:11 +00:00
Fix binding field of VkVertexInputBindingDivisorDescriptionEXT
This commit is contained in:
committed by
Baldur Karlsson
parent
839e9f609f
commit
2308bf7bd8
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user