mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 15:00:57 +01:00
Merge #798
798: Fixed storage buffer counting towards storage textures for binding validation r=kvark a=Wumpf See title. (broke my group layout creation since my compute shaders need quite a few storage buffers _and_ storage textures bound... ;-)) Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
commit
71e853d6ce
1 file changed
+1
-1
@@ -148,7 +148,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