diff options
Diffstat (limited to 'source/slang/type-layout.h')
| -rw-r--r-- | source/slang/type-layout.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/slang/type-layout.h b/source/slang/type-layout.h index ce1f8864d..262a8c3b1 100644 --- a/source/slang/type-layout.h +++ b/source/slang/type-layout.h @@ -2,6 +2,7 @@ #define SLANG_TYPE_LAYOUT_H #include "../core/basic.h" +#include "compiler.h" #include "profile.h" #include "syntax.h" @@ -236,6 +237,10 @@ public: // Additional flags VarLayoutFlags flags = 0; + // System-value semantic (and index) if this is a system value + String systemValueSemantic; + int systemValueSemanticIndex; + // The start register(s) for any resources struct ResourceInfo { @@ -513,7 +518,7 @@ struct LayoutRulesFamilyImpl LayoutRulesImpl* GetLayoutRulesImpl(LayoutRule rule); LayoutRulesFamilyImpl* GetLayoutRulesFamilyImpl(LayoutRulesFamily rule); -LayoutRulesFamilyImpl* GetLayoutRulesFamilyImpl(SourceLanguage language); +LayoutRulesFamilyImpl* GetLayoutRulesFamilyImpl(CodeGenTarget target); SimpleLayoutInfo GetLayout(ExpressionType* type, LayoutRulesImpl* rules); |
