From 3192f34f57abd3245995342a0a5971ebbbbd945c Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 15 Apr 2024 23:28:28 -0700 Subject: [GFX] Fix d3d12 buffer view creation logic for StructuredBuffers. (#3954) --- source/slang/slang-check-conformance.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source/slang/slang-check-conformance.cpp') diff --git a/source/slang/slang-check-conformance.cpp b/source/slang/slang-check-conformance.cpp index ff4a40031..a0e51b180 100644 --- a/source/slang/slang-check-conformance.cpp +++ b/source/slang/slang-check-conformance.cpp @@ -227,16 +227,6 @@ namespace Slang return nullptr; } - bool SemanticsVisitor::isInterfaceType(Type* type) - { - if (auto declRefType = as(type)) - { - if (auto interfaceDeclRef = declRefType->getDeclRef().as()) - return true; - } - return false; - } - bool SemanticsVisitor::isValidGenericConstraintType(Type* type) { if (auto andType = as(type)) -- cgit v1.2.3