summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-specialize-dynamic-associatedtype-lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-specialize-dynamic-associatedtype-lookup.cpp')
-rw-r--r--source/slang/slang-ir-specialize-dynamic-associatedtype-lookup.cpp2
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)