diff --git a/src/instructions/atomic.cpp b/src/instructions/atomic.cpp index a11f0f8..146a2a6 100644 --- a/src/instructions/atomic.cpp +++ b/src/instructions/atomic.cpp @@ -41,7 +41,7 @@ Id Module::OpAtomicCompareExchange(Id result_type, Id pointer, Id memory, Id equ auto op{std::make_unique(spv::Op::OpAtomicCompareExchange, bound++, result_type)}; op->Add(pointer); op->Add(memory); - op->Add(equal)); + op->Add(equal); op->Add(unequal); op->Add(value); op->Add(comparator);