From d52376a65f37fcbbb67428b917fd3819436b6dfb Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 2 May 2023 20:29:38 -0700 Subject: Various dxc/fxc compatibility fixes. (#2863) * Various dxc/fxc compatibility fixes. * Cleanup. * Fix test cases. * Fix comments. --------- Co-authored-by: Yong He --- slang.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'slang.h') diff --git a/slang.h b/slang.h index 89ef4ce4e..f5092a1e6 100644 --- a/slang.h +++ b/slang.h @@ -4122,6 +4122,9 @@ namespace slang /** Set the debug format to be used for debugging information */ virtual SLANG_NO_THROW void SLANG_MCALL setDebugInfoFormat(SlangDebugInfoFormat debugFormat) = 0; + + virtual SLANG_NO_THROW void SLANG_MCALL setEnableEffectAnnotations(bool value) = 0; + }; #define SLANG_UUID_ICompileRequest ICompileRequest::getTypeGuid() @@ -4208,6 +4211,8 @@ namespace slang SlangInt preprocessorMacroCount = 0; ISlangFileSystem* fileSystem = nullptr; + + bool enableEffectAnnotations = false; }; enum class ContainerType -- cgit v1.2.3