diff options
| author | Darren Wihandi <65404740+fairywreath@users.noreply.github.com> | 2025-03-31 21:17:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-01 01:17:49 +0000 |
| commit | 1fa4e486f598c5a7eed0db65f187ab95f890133c (patch) | |
| tree | 7a817f09503a53cb8caec419db144722c4684971 /source | |
| parent | bc9dc6557fc0cc3a4c0c2ff27e636940e361cf5d (diff) | |
Fix compilation of global builtin variables inside generics (#6701)
* Include generics' operands in call graph construction
* add test
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-ir-call-graph.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ir-call-graph.cpp b/source/slang/slang-ir-call-graph.cpp index 47b18be2e..a709bd418 100644 --- a/source/slang/slang-ir-call-graph.cpp +++ b/source/slang/slang-ir-call-graph.cpp @@ -88,6 +88,7 @@ void buildEntryPointReferenceGraph( case kIROp_GlobalParam: case kIROp_GlobalVar: case kIROp_SPIRVAsmOperandBuiltinVar: + case kIROp_Generic: addToWorkList({entryPoint, operand}); break; } |
