Fix skipping of sparse descriptor sets in vulkan postvs copy

This commit is contained in:
baldurk
2018-11-01 12:23:12 +00:00
parent 71f85e5fd3
commit 5af54e7964
+1 -1
View File
@@ -1587,7 +1587,7 @@ void VulkanReplay::FetchVSOut(uint32_t eventId)
const DescSetLayout::Binding &bind = origLayout.bindings[b];
// skip empty bindings
if(bind.descriptorCount == 0)
if(bind.descriptorCount == 0 || bind.stageFlags == 0)
continue;
copy.srcBinding = (uint32_t)b;