mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +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,
|
limits.max_sampled_textures_per_shader_stage,
|
||||||
BindingTypeMaxCountErrorKind::SampledTextures,
|
BindingTypeMaxCountErrorKind::SampledTextures,
|
||||||
)?;
|
)?;
|
||||||
self.storage_buffers.validate(
|
|
||||||
limits.max_storage_buffers_per_shader_stage,
|
|
||||||
BindingTypeMaxCountErrorKind::StorageBuffers,
|
|
||||||
)?;
|
|
||||||
self.samplers.validate(
|
self.samplers.validate(
|
||||||
limits.max_samplers_per_shader_stage,
|
limits.max_samplers_per_shader_stage,
|
||||||
BindingTypeMaxCountErrorKind::Samplers,
|
BindingTypeMaxCountErrorKind::Samplers,
|
||||||
|
Loading…
Reference in New Issue
Block a user