mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-10-30 14:01:39 +00:00
remove duplicate validation
This commit is contained in:
parent
c9202ee54a
commit
025787bbad
@ -373,10 +373,6 @@ impl BindingTypeMaxCountValidator {
|
||||
limits.max_sampled_textures_per_shader_stage,
|
||||
BindingTypeMaxCountErrorKind::SampledTextures,
|
||||
)?;
|
||||
self.storage_buffers.validate(
|
||||
limits.max_storage_buffers_per_shader_stage,
|
||||
BindingTypeMaxCountErrorKind::StorageBuffers,
|
||||
)?;
|
||||
self.samplers.validate(
|
||||
limits.max_samplers_per_shader_stage,
|
||||
BindingTypeMaxCountErrorKind::Samplers,
|
||||
|
Loading…
Reference in New Issue
Block a user