diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-09 18:08:22 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-09 18:08:22 -0700 |
| commit | 064c28f58e845be67a31283cb885b22f32118f49 (patch) | |
| tree | 559cde481de3dc37ad0e571380367bb0a6ebc3ca /source/slang/lower.cpp | |
| parent | 54364eb1aef3fc6aa87b144ba91ca0a77818e4a4 (diff) | |
Pick layout rules based on target languge, not source.
The tricky bit here was that the `reflection-json` output format isn't really a code generation target like the others, and we need to be able to have multiple "targets" active to make sense of it. This needs cleaning-up.
Diffstat (limited to 'source/slang/lower.cpp')
| -rw-r--r-- | source/slang/lower.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/lower.cpp b/source/slang/lower.cpp index 0bb047791..55dabb826 100644 --- a/source/slang/lower.cpp +++ b/source/slang/lower.cpp @@ -1,6 +1,7 @@ // lower.cpp #include "lower.h" +#include "type-layout.h" #include "visitor.h" namespace Slang |
