mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Fix postvs descriptor validation checking for arrays with empty elements
This commit is contained in:
@@ -1600,7 +1600,7 @@ void VulkanReplay::FetchVSOut(uint32_t eventId)
|
||||
for(uint32_t w = 0; w < bind.descriptorCount; w++)
|
||||
{
|
||||
// if this write is valid, we increment the descriptor count and continue
|
||||
if(IsValid(write, w))
|
||||
if(IsValid(write, w - write.dstArrayElement))
|
||||
{
|
||||
write.descriptorCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user