Skip to content

Commit 45b3d66

Browse files
authored
Fix error message for sampler arrays (#7704)
1 parent 26bab56 commit 45b3d66

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ Bottom level categories:
5757

5858
### Bug Fixes
5959

60+
#### General
61+
62+
- Fix error message for sampler array limit. By @LPGhatguy in [#7704](https://github.com/gfx-rs/wgpu/pull/7704).
63+
6064
#### Naga
6165

6266
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).

wgpu-core/src/binding_model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ impl BindingTypeMaxCountErrorKind {
255255
"max_binding_array_elements_per_shader_stage"
256256
}
257257
BindingTypeMaxCountErrorKind::BindingArraySamplerElements => {
258-
"max_binding_array_elements_per_shader_stage"
258+
"max_binding_array_sampler_elements_per_shader_stage"
259259
}
260260
}
261261
}

0 commit comments

Comments
 (0)