summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-05-02 20:29:38 -0700
committerGitHub <noreply@github.com>2023-05-02 20:29:38 -0700
commitd52376a65f37fcbbb67428b917fd3819436b6dfb (patch)
treeda25b3c9a00bd003b1970b4a6c4eb38eccf62aa1 /slang.h
parent55291b0bf6d729fcbaf75a01926da7da8975b8e9 (diff)
Various dxc/fxc compatibility fixes. (#2863)
* Various dxc/fxc compatibility fixes. * Cleanup. * Fix test cases. * Fix comments. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h5
1 files changed, 5 insertions, 0 deletions
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