summaryrefslogtreecommitdiffstats
path: root/include/slang.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/slang.h')
-rw-r--r--include/slang.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/slang.h b/include/slang.h
index ea62a829f..8f4d53a0d 100644
--- a/include/slang.h
+++ b/include/slang.h
@@ -958,6 +958,7 @@ extern "C"
// precompiled modules if it is up-to-date with its source.
EmbedDXIL, // bool
+ ForceDXLayout, // bool
CountOf,
};
@@ -4837,6 +4838,8 @@ namespace slang
virtual SLANG_NO_THROW void SLANG_MCALL setTargetEmbedDXIL(
int targetIndex,
bool value) = 0;
+
+ virtual SLANG_NO_THROW void SLANG_MCALL setTargetForceDXLayout(int targetIndex, bool value) = 0;
};
#define SLANG_UUID_ICompileRequest ICompileRequest::getTypeGuid()