diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-08-17 10:58:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-17 10:58:11 -0700 |
| commit | 5230ad2edb28e176d0d7d2a9873ffb8f65285269 (patch) | |
| tree | d1b85e1553b0a81d2322f043d3e4022bd9d780c1 /slang.h | |
| parent | 3dd88c2eb5cd2e405cd5aa184a2cd45db6fb027a (diff) | |
| parent | d13bd05164c6a3d0b7ba95bb415f6bfac4cfcb70 (diff) | |
Merge pull request #168 from tfoleyNV/resources-in-structs-control
Add a flag to control type splitting
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -93,7 +93,11 @@ extern "C" typedef unsigned int SlangCompileFlags; enum { - SLANG_COMPILE_FLAG_NO_CHECKING = 1 << 0, /**< Disable semantic checking as much as possible. */ + /** Disable semantic checking as much as possible. */ + SLANG_COMPILE_FLAG_NO_CHECKING = 1 << 0, + + /* Split apart types that contain a mix of resource and non-resource data */ + SLANG_COMPILE_FLAG_SPLIT_MIXED_TYPES = 1 << 1, }; /*! |
