Module: Mesa Branch: main Commit: 4b4770e82085dd334a86233d88eb3785bc2d3e68 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b4770e82085dd334a86233d88eb3785bc2d3e68
Author: Gert Wollny <[email protected]> Date: Fri Jul 21 17:02:58 2023 +0200 r600/sfn: make remaining slots a signed value Needed to check the limits. Signed-off-by: Gert Wollny <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24297> --- 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 a3310b5afb7..d80c95f94db 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<PRegister, std::less<PRegister>, Allocator<PRegister>> m_extra_dependencies; AluGroup *m_parent_group{nullptr};
