mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-01-10 21:28:12 -05:00
[naga hlsl-out] Fix odd name for a Handle<GlobalVariable>. (#7996)
This commit is contained in:
@@ -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