summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2020-09-02 12:21:28 -0700
committerGitHub <noreply@github.com>2020-09-02 12:21:28 -0700
commita2a7c4d988b2b7126130d9dcbe4ec94e1ce8424b (patch)
tree5e9559abd79b9e2f7d4f22f65a77daaaae3eed16 /slang.h
parent7f567df6937b33c653c424af3abb20d32eb80561 (diff)
Allow unspecialized existential shader parameters (dynamic dispatch). (#1529)
* Allow unspecialized existential shader parameters (dynamic dispatch). * Fixes. * Fixes * disable cuda test
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index 13df1121e..48af5ef36 100644
--- a/slang.h
+++ b/slang.h
@@ -3110,6 +3110,12 @@ namespace slang
LayoutRules rules = LayoutRules::Default,
ISlangBlob** outDiagnostics = nullptr) = 0;
+ /** Get the mangled name for a type RTTI object.
+ */
+ virtual SLANG_NO_THROW SlangResult SLANG_MCALL getTypeRTTIMangledName(
+ TypeReflection* type,
+ ISlangBlob** outNameBlob) = 0;
+
/** Get the mangled name for a type witness.
*/
virtual SLANG_NO_THROW SlangResult SLANG_MCALL getTypeConformanceWitnessMangledName(