mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Fixed storage buffer counting towards storage textures for binding validation
This commit is contained in:
@@ -147,7 +147,7 @@ impl BindingTypeMaxCountValidator {
|
||||
}
|
||||
}
|
||||
wgt::BindingType::StorageBuffer { dynamic, .. } => {
|
||||
self.storage_textures.add(binding.visibility, count);
|
||||
self.storage_buffers.add(binding.visibility, count);
|
||||
if dynamic {
|
||||
self.dynamic_storage_buffers += count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user