diff options
Diffstat (limited to 'include/slang.h')
| -rw-r--r-- | include/slang.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/slang.h b/include/slang.h index 25e364504..c68157759 100644 --- a/include/slang.h +++ b/include/slang.h @@ -970,6 +970,7 @@ extern "C" UseUpToDateBinaryModule, // bool, when set, will only load // precompiled modules if it is up-to-date with its source. + EmbedDXIL, // bool CountOf, }; @@ -4152,7 +4153,6 @@ namespace slang int targetIndex, SlangTargetFlags flags) = 0; - /*! @brief Set the floating point mode (e.g., precise or fast) to use a target. */ @@ -4704,6 +4704,13 @@ namespace slang // return a copy of internal profiling results, and if `shouldClear` is true, clear the internal profiling results before returning. virtual SLANG_NO_THROW SlangResult SLANG_MCALL getCompileTimeProfile(ISlangProfiler** compileTimeProfile, bool shouldClear) = 0; + virtual SLANG_NO_THROW void SLANG_MCALL setTargetGenerateWholeProgram( + int targetIndex, + bool value) = 0; + + virtual SLANG_NO_THROW void SLANG_MCALL setTargetEmbedDXIL( + int targetIndex, + bool value) = 0; }; #define SLANG_UUID_ICompileRequest ICompileRequest::getTypeGuid() |
