diff options
| author | Yong He <yonghe@outlook.com> | 2024-02-28 22:57:07 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-28 22:57:07 -0800 |
| commit | 73a61edda8893901acad05bb4e7d3110db5041a8 (patch) | |
| tree | bb6331b28715a4e95fcd7724ad338149ce56e562 /source/slang/slang.cpp | |
| parent | d2644e2f8f0abb73bbd6afd70816f6bf245340da (diff) | |
[SPIRV] Add NonSemanticDebugInfo for step-through debugging. (#3644)
* [SPIRV] Add NonSemanticDebugInfo for step-through debugging.
* Fix.
* Fix.
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
