mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-26 01:11:22 +01:00
Fixed storage buffer counting towards storage textures for binding validation
This commit is contained in:
1 parent
fc4baa3107
commit
ace186623e
1 file changed
+1
-1
@@ -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