Fix error message for sampler arrays (#7704)

This commit is contained in:
Lucien Greathouse authored and GitHub committed 2025-05-19 19:25:36 -07:00
1 parent 26bab56fd5
commit 45b3d66301
2 files changed
+5 -1

No files matched your search

+4
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).
+1 -1
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"
}
}
}