From 4b4770e82085dd334a86233d88eb3785bc2d3e68 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Fri, 21 Jul 2023 17:02:58 +0200 Subject: [PATCH] r600/sfn: make remaining slots a signed value Needed to check the limits. Signed-off-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/sfn/sfn_instr_alu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/sfn/sfn_instr_alu.h b/src/gallium/drivers/r600/sfn/sfn_instr_alu.h index a3310b5..d80c95f 100644 --- a/src/gallium/drivers/r600/sfn/sfn_instr_alu.h +++ b/src/gallium/drivers/r600/sfn/sfn_instr_alu.h @@ -242,7 +242,7 @@ private: int m_alu_slots{1}; int m_fallback_chan{0}; unsigned m_idx_offset{0}; - unsigned m_required_slots{0}; + int m_required_slots{0}; int m_priority{0}; std::set, Allocator> m_extra_dependencies; AluGroup *m_parent_group{nullptr}; -- 2.7.4