[naga hlsl-out] Fix odd name for a Handle<GlobalVariable>. (#7996)

This commit is contained in:
Jim Blandy authored and GitHub committed 2025-07-23 16:48:49 -04:00
1 parent 2fcd41377c
commit dbe64a769b
1 file changed
+2 -2
+2 -2
View File
@@ -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() {