diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-07-10 09:49:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-10 09:49:46 -0700 |
| commit | 8abdf2dddd10feb9794c86cdf6b2159a2b6383e4 (patch) | |
| tree | df7d790f33f7e4c8adc1b9b747c7c908d8bab0d4 /source/slang/type-layout.h | |
| parent | 68df74b58a56b0a1fb19b9ec4ff0282969cd6a12 (diff) | |
| parent | 5b7c254d24653fd1c19157e8d5ef68a7e787ff58 (diff) | |
Merge pull request #65 from tfoleyNV/falcor-work
Falcor work
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); |
