diff options
| author | Yong He <yonghe@outlook.com> | 2022-09-05 02:11:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-05 02:11:47 -0700 |
| commit | c1ee977fb9cd093e58715fe0dea00942d92ef71a (patch) | |
| tree | e18c6ed09c8044ca7caedd9f941b66d6dd19e9f1 /source/slang/slang-ir-specialize-dynamic-associatedtype-lookup.cpp | |
| parent | ea0845285b0307d153a91d6f0a5010fc2d7219ed (diff) | |
Fix matrix packing/unpacking logic. (#2393)
Include indirectly referenced witness table in dynamic dispatch.
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ir-specialize-dynamic-associatedtype-lookup.cpp')
| -rw-r--r-- | source/slang/slang-ir-specialize-dynamic-associatedtype-lookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-specialize-dynamic-associatedtype-lookup.cpp b/source/slang/slang-ir-specialize-dynamic-associatedtype-lookup.cpp index 441d32d24..89b965739 100644 --- a/source/slang/slang-ir-specialize-dynamic-associatedtype-lookup.cpp +++ b/source/slang/slang-ir-specialize-dynamic-associatedtype-lookup.cpp @@ -197,7 +197,7 @@ struct AssociatedTypeLookupSpecializationContext if (inst->getOp() == kIROp_WitnessTable) { auto seqId = inst->findDecoration<IRSequentialIDDecoration>(); - SLANG_ASSERT(seqId); + SLANG_RELEASE_ASSERT(seqId); // Insert code to pack sequential ID into an uint2 at all use sites. IRUse* nextUse = nullptr; for (auto use = inst->firstUse; use; use = nextUse) |
