mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
[naga hlsl-out] Fix odd name for a Handle<GlobalVariable>. (#7996)
This commit is contained in:
parent
2fcd41377c
commit
dbe64a769b
@ -392,8 +392,8 @@ impl<'a, W: fmt::Write> super::Writer<'a, W> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Write all globals
|
// Write all globals
|
||||||
for (ty, _) in module.global_variables.iter() {
|
for (global, _) in module.global_variables.iter() {
|
||||||
self.write_global(module, ty)?;
|
self.write_global(module, global)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
if !module.global_variables.is_empty() {
|
if !module.global_variables.is_empty() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user