diff options
Diffstat (limited to 'source/slang/compiler.h')
| -rw-r--r-- | source/slang/compiler.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h index d2072387e..41ba027c6 100644 --- a/source/slang/compiler.h +++ b/source/slang/compiler.h @@ -122,9 +122,8 @@ namespace Slang // The name of the entry point function (e.g., `main`) Name* name; - // The type names we want to substitute into the - // global generic type parameters - List<String> genericParameterTypeNames; + /// Source code for the generic arguments to use for the generic parameters of the entry point. + List<String> genericArgStrings; // The profile that the entry point will be compiled for // (this is a combination of the target stage, and also @@ -156,6 +155,9 @@ namespace Slang RefPtr<FuncDecl> decl; RefPtr<Substitutions> globalGenericSubst; + + /// Any tagged union types that were referenced by the generic arguments of the entry point. + List<RefPtr<TaggedUnionType>> taggedUnionTypes; }; enum class PassThroughMode : SlangPassThrough |
