mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-07 12:51:33 +00:00
Skip empty descriptor writes from templates when applying
This commit is contained in:
1 file changed
+2
-1
@@ -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