diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp index 29fbcc3c95..d1c16a3a1a 100644 --- a/source/slang/slang-ir.cpp +++ b/source/slang/slang-ir.cpp @@ -7971,7 +7971,7 @@ void IRInst::removeOperand(Index index) } // Remove this instruction from its parent block, -// and then destroy it (it had better have no uses!) +// and then destroy it (it had better have no uses, or descendants with uses!) void IRInst::removeAndDeallocate() { removeAndDeallocateAllDecorationsAndChildren();