summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-08-17 10:58:11 -0700
committerGitHub <noreply@github.com>2017-08-17 10:58:11 -0700
commit5230ad2edb28e176d0d7d2a9873ffb8f65285269 (patch)
treed1b85e1553b0a81d2322f043d3e4022bd9d780c1 /slang.h
parent3dd88c2eb5cd2e405cd5aa184a2cd45db6fb027a (diff)
parentd13bd05164c6a3d0b7ba95bb415f6bfac4cfcb70 (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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/slang.h b/slang.h
index 2f6c112c0..3ed715f23 100644
--- a/slang.h
+++ b/slang.h
@@ -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,
};
/*!