mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-06 23:00:59 +00:00
Skip empty descriptor writes from templates when applying
This commit is contained in:
@@ -1244,6 +1244,7 @@ void DescUpdateTemplate::Apply(const void *pData, DescUpdateTemplateApplication
|
||||
write.pBufferInfo = &application.bufInfo[idx];
|
||||
}
|
||||
|
||||
application.writes.push_back(write);
|
||||
if(write.descriptorCount != 0)
|
||||
application.writes.push_back(write);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user