Fix error message for sampler arrays (#7704)

This commit is contained in:
Lucien Greathouse 2025-05-19 22:25:36 -04:00 committed by GitHub
parent 26bab56fd5
commit 45b3d66301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -57,6 +57,10 @@ Bottom level categories:
### Bug Fixes
#### General
- Fix error message for sampler array limit. By @LPGhatguy in [#7704](https://github.com/gfx-rs/wgpu/pull/7704).
#### Naga
Naga now infers the correct binding layout when a resource appears only in an assignment to `_`. By @andyleiserson in [#7540](https://github.com/gfx-rs/wgpu/pull/7540).

View File

@ -255,7 +255,7 @@ impl BindingTypeMaxCountErrorKind {
"max_binding_array_elements_per_shader_stage"
}
BindingTypeMaxCountErrorKind::BindingArraySamplerElements => {
"max_binding_array_elements_per_shader_stage"
"max_binding_array_sampler_elements_per_shader_stage"
}
}
}