remove duplicate validation

This commit is contained in:
teoxoy 2024-07-18 20:02:38 +02:00 committed by Erich Gubler
parent c9202ee54a
commit 025787bbad

View File

@ -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,