diff options
Diffstat (limited to 'source/opt/folding_rules.cpp')
-rw-r--r-- | source/opt/folding_rules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/opt/folding_rules.cpp b/source/opt/folding_rules.cpp index 6b22ae0c..a0fca0fc 100644 --- a/source/opt/folding_rules.cpp +++ b/source/opt/folding_rules.cpp @@ -1425,7 +1425,7 @@ FoldingRule InsertFeedingExtract() { {cinst->GetSingleWordInOperand(kInsertObjectIdInIdx)}}); for (; i < inst->NumInOperands(); ++i) { operands.push_back({SPV_OPERAND_TYPE_LITERAL_INTEGER, - {cinst->GetSingleWordInOperand(i)}}); + {inst->GetSingleWordInOperand(i)}}); } inst->SetInOperands(std::move(operands)); return true; |