We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 285fa48 commit 50eb207Copy full SHA for 50eb207
wgpu/src/backend/webgpu.rs
@@ -2130,7 +2130,7 @@ impl dispatch::DeviceInterface for WebDevice {
2130
.collect::<js_sys::Array>();
2131
let module = frag.module.inner.as_webgpu();
2132
let mapped_fragment_desc = webgpu_sys::GpuFragmentState::new(&module.module, &targets);
2133
- insert_constants_map(&mapped_vertex_state, frag.compilation_options.constants);
+ insert_constants_map(&mapped_fragment_desc, frag.compilation_options.constants);
2134
if let Some(ep) = frag.entry_point {
2135
mapped_fragment_desc.set_entry_point(ep);
2136
}
0 commit comments