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:
bors[bot]
2020-07-16 14:33:40 +00:00
committed by GitHub

View File

@@ -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;
}