From f44da6cc5c0f211c13bd1eb0743d79c7861ea64e Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 8 Feb 2024 18:29:32 -0800 Subject: Support pointers in SPIRV. (#3561) * Support pointers in SPIRV. * Fix test. * Enhance test. * Fix test. * Cleanup. --- source/slang/slang-ir-specialize.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source/slang/slang-ir-specialize.cpp') diff --git a/source/slang/slang-ir-specialize.cpp b/source/slang/slang-ir-specialize.cpp index b82daa9a4..60001661c 100644 --- a/source/slang/slang-ir-specialize.cpp +++ b/source/slang/slang-ir-specialize.cpp @@ -1995,11 +1995,6 @@ struct SpecializationContext { return 2; } - else if (auto ptrType = as(type)) - { - type = ptrType->getValueType(); - goto top; - } else if (auto ptrLikeType = as(type)) { type = ptrLikeType->getElementType(); -- cgit v1.2.3