mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Ignore descriptor writes with descriptorCount == 0
This commit is contained in:
@@ -578,6 +578,10 @@ void WrappedVulkan::ReplayDescriptorSetWrite(VkDevice device, const VkWriteDescr
|
||||
if(!valid)
|
||||
return;
|
||||
|
||||
// ignore empty writes, for some reason this is valid with descriptor update templates.
|
||||
if(writeDesc.descriptorCount == 0)
|
||||
return;
|
||||
|
||||
const DescSetLayout &layout =
|
||||
m_CreationInfo.m_DescSetLayout[m_DescriptorSetState[GetResID(writeDesc.dstSet)].layout];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user