From a5d3bec25d70f23da1e79cd7773981ff34593611 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 15 Sep 2022 20:37:45 -0700 Subject: Run simple compute kernel in gfx-smoke test. (#2400) --- source/slang/slang-ir-util.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/slang/slang-ir-util.cpp') diff --git a/source/slang/slang-ir-util.cpp b/source/slang/slang-ir-util.cpp index 7775fdb91..1f13eb754 100644 --- a/source/slang/slang-ir-util.cpp +++ b/source/slang/slang-ir-util.cpp @@ -53,7 +53,10 @@ bool isComInterfaceType(IRType* type) { return true; } - + if (auto witnessTableType = as(type)) + { + return isComInterfaceType((IRType*)witnessTableType->getConformanceType()); + } if (auto ptrType = as(type)) { auto valueType = ptrType->getValueType(); -- cgit v1.2.3