From dd9d24d29c4a9e05a4510eb9959fafa0ed36618b Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 28 Feb 2025 22:46:56 -0800 Subject: Allow partial specialization of existential arguments. (#6487) * Allow partial specialization of existential arguments. * Fix. * Add test case for improved diagnostics. * Fix compile error. * Fix tests. * Fix. * Fix test. * Fix compile issue. * Fix typo. * Address comment. --- source/slang/slang-ir-layout.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/slang-ir-layout.cpp') diff --git a/source/slang/slang-ir-layout.cpp b/source/slang/slang-ir-layout.cpp index 7ce19bf67..558877aaf 100644 --- a/source/slang/slang-ir-layout.cpp +++ b/source/slang/slang-ir-layout.cpp @@ -341,6 +341,7 @@ static Result _calcSizeAndAlignment( case kIROp_ComPtrType: case kIROp_NativeStringType: case kIROp_HLSLConstBufferPointerType: + case kIROp_RaytracingAccelerationStructureType: { *outSizeAndAlignment = IRSizeAndAlignment(kPointerSize, kPointerSize); return SLANG_OK; -- cgit v1.2.3