diff options
Diffstat (limited to 'source/slang/lower-to-ir.cpp')
| -rw-r--r-- | source/slang/lower-to-ir.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/slang/lower-to-ir.cpp b/source/slang/lower-to-ir.cpp index 326d25649..0f3e85805 100644 --- a/source/slang/lower-to-ir.cpp +++ b/source/slang/lower-to-ir.cpp @@ -3538,7 +3538,9 @@ static void lowerEntryPointToIR( // the entry point request. return; } - + // we need to lower all global type arguments as well + for (auto arg : entryPointRequest->genericParameterTypes) + lowerType(context, arg); auto loweredEntryPointFunc = lowerDecl(context, entryPointFuncDecl); } |
