mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
[naga hlsl-out] Fix odd name for a Handle<GlobalVariable>. (#7996)
This commit is contained in:
1 parent
2fcd41377c
commit
dbe64a769b
1 file changed
+2
-2
@@ -392,8 +392,8 @@ impl<'a, W: fmt::Write> super::Writer<'a, W> {
|
||||
}
|
||||
|
||||
// Write all globals
|
||||
for (ty, _) in module.global_variables.iter() {
|
||||
self.write_global(module, ty)?;
|
||||
for (global, _) in module.global_variables.iter() {
|
||||
self.write_global(module, global)?;
|
||||
}
|
||||
|
||||
if !module.global_variables.is_empty() {
|
||||
|
||||
Reference in new issue
Block a user