mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 13:30:44 +00:00
Ignore dstArrayElement as descriptor index for inline UBOs. Closes #2401
* dstArrayElement is already accounted for as a byte offset, but shouldn't be used to index the descriptor as there's only ever one descriptor.
This commit is contained in:
@@ -1305,7 +1305,7 @@ void WrappedVulkan::vkUpdateDescriptorSets(VkDevice device, uint32_t writeCount,
|
||||
VkWriteDescriptorSetInlineUniformBlockEXT *inlineWrite =
|
||||
(VkWriteDescriptorSetInlineUniformBlockEXT *)FindNextStruct(
|
||||
&descWrite, VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT);
|
||||
memcpy(inlineData.data() + bind.inlineOffset + descWrite.dstArrayElement,
|
||||
memcpy(inlineData.data() + (*binding)->inlineOffset + descWrite.dstArrayElement,
|
||||
inlineWrite->pData, inlineWrite->dataSize);
|
||||
|
||||
// break now because the descriptorCount is not the number of descriptors
|
||||
|
||||
Reference in New Issue
Block a user