From d0beaf73d9b5323e8e76a5c4a5a0fad747f89bd3 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Mon, 17 Jul 2023 17:14:00 +0200 Subject: [PATCH] r600/sfn: Allow for larger ALU CF's We should get as close as possible to the limit the hardware and the assembler backend allows for. Signed-off-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/sfn/sfn_assembler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/sfn/sfn_assembler.cpp b/src/gallium/drivers/r600/sfn/sfn_assembler.cpp index fe4cdba812b..3ce51572caa 100644 --- a/src/gallium/drivers/r600/sfn/sfn_assembler.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_assembler.cpp @@ -452,7 +452,7 @@ AssamblerVisitor::visit(const AluGroup& group) m_last_addr = nullptr; } } else if (m_bc->cf_last) { - if (m_bc->cf_last->ndw + 2 * group.slots() > 240) { + if (m_bc->cf_last->ndw + 2 * group.slots() > 248) { assert(m_bc->cf_last->nlds_read == 0); m_bc->force_add_cf = 1; m_last_addr = nullptr;