From 73a61edda8893901acad05bb4e7d3110db5041a8 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 28 Feb 2024 22:57:07 -0800 Subject: [SPIRV] Add NonSemanticDebugInfo for step-through debugging. (#3644) * [SPIRV] Add NonSemanticDebugInfo for step-through debugging. * Fix. * Fix. --- source/slang/slang.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/slang/slang.cpp') diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index 9a653aded..4b11a5216 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -4728,6 +4728,8 @@ SpecializedComponentType::SpecializedComponentType( , m_specializationInfo(specializationInfo) , m_specializationArgs(specializationArgs) { + m_optionSet.overrideWith(base->getOptionSet()); + m_irModule = generateIRForSpecializedComponentType(this, sink); // We need to account for the fact that a specialized -- cgit v1.2.3