Skip to content

Commit

Permalink
Merge pull request #20 from slangbot/format-5768-aleino/global-call-fix
Browse files Browse the repository at this point in the history
Format code for PR shader-slang#5768
  • Loading branch information
aleino-nv authored Dec 10, 2024
2 parents e57ab0e + 3753972 commit fce390b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/slang/slang-ir-legalize-global-values.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void GlobalInstInliningContextGeneric::inlineGlobalValuesAndRemoveIfUnused(IRMod

// Since certain globals that appear in the IR are considered illegal for all targets,
// e.g. calls to functions, we delete globals which no longer have uses after inlining.
for (auto& globalInst: globalInstsToConsiderDeleting)
for (auto& globalInst : globalInstsToConsiderDeleting)
{
// TODO: Explain why tests/spirv/global-compute.slang fails if we don't exclude
// kIROp_SPIRVAsm
Expand Down

0 comments on commit fce390b

Please sign in to comment.