summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/slang-deprecated.h2
-rw-r--r--include/slang.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/slang-deprecated.h b/include/slang-deprecated.h
index 32db65007..c81ae8537 100644
--- a/include/slang-deprecated.h
+++ b/include/slang-deprecated.h
@@ -1608,6 +1608,8 @@ struct ICompileRequest : public ISlangUnknown
virtual SLANG_NO_THROW void SLANG_MCALL
setTargetEmbedDownstreamIR(int targetIndex, bool value) = 0;
+
+ virtual SLANG_NO_THROW void SLANG_MCALL setTargetForceCLayout(int targetIndex, bool value) = 0;
};
#define SLANG_UUID_ICompileRequest ICompileRequest::getTypeGuid()
diff --git a/include/slang.h b/include/slang.h
index 02f6bdce6..3c2a31413 100644
--- a/include/slang.h
+++ b/include/slang.h
@@ -1053,6 +1053,8 @@ typedef uint32_t SlangSizeT;
// Bitfield options
UseMSVCStyleBitfieldPacking, // bool
+ ForceCLayout, // bool
+
CountOf,
};