Also add length test
This commit is contained in:
parent
21c2256975
commit
fc23d9c0e7
1 changed files with 2 additions and 0 deletions
|
@ -268,6 +268,8 @@ impl DescriptorSet {
|
|||
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
assert!(writes.len() <= self.pool.descriptor_set_layout.bindings().len());
|
||||
|
||||
for (i, binding) in self
|
||||
.pool
|
||||
.descriptor_set_layout
|
||||
|
|
Loading…
Reference in a new issue