summaryrefslogtreecommitdiffstats
path: root/source/slang
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-09-29 13:14:10 -0700
committerGitHub <noreply@github.com>2022-09-29 13:14:10 -0700
commitcbe245f86ba6cbf5239f36bd6a0f55d82229d19b (patch)
tree7597131373d3a00332924e8948f0f246e29eadcb /source/slang
parent9296405a2e15c07b5a8b7a002a2fa082232d559b (diff)
GFX: support D3D12EnableExperimentalFeatures. (#2424)
* GFX: support D3D12EnableExperimentalFeatures. * Fix. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang')
-rw-r--r--source/slang/slang-mangle.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-mangle.cpp b/source/slang/slang-mangle.cpp
index 11c72b182..ab1c1ec4a 100644
--- a/source/slang/slang-mangle.cpp
+++ b/source/slang/slang-mangle.cpp
@@ -234,6 +234,10 @@ namespace Slang
emitRaw(context, "t");
emitQualifiedName(context, thisType->interfaceDeclRef);
}
+ else if (auto errorType = dynamicCast<ErrorType>(type))
+ {
+ emitRaw(context, "E");
+ }
else
{
SLANG_UNEXPECTED("unimplemented case in mangling");