diff --git a/lib/mesa/src/amd/compiler/aco_lower_to_hw_instr.cpp b/lib/mesa/src/amd/compiler/aco_lower_to_hw_instr.cpp index 6f051200b..6845b0d28 100644 --- a/lib/mesa/src/amd/compiler/aco_lower_to_hw_instr.cpp +++ b/lib/mesa/src/amd/compiler/aco_lower_to_hw_instr.cpp @@ -1058,7 +1058,7 @@ void handle_operands(std::map& copy_map, lower_context* /* all target regs are needed as operand somewhere which means, all entries are part of a cycle */ unsigned largest = 0; - for (const std::pair& op : copy_map) + for (const std::pair& op : copy_map) largest = MAX2(largest, op.second.bytes); while (!copy_map.empty()) {