From: Gert Wollny Date: Fri, 21 Jul 2023 15:11:52 +0000 (+0200) Subject: r600: don't check possible size of ALU CF X-Git-Tag: upstream/23.3.3~5031 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02384de4949580504052ef5087553d4cce6c2164;p=platform%2Fupstream%2Fmesa.git r600: don't check possible size of ALU CF The scheduler and sfn assembler already o this. Signed-off-by: Gert Wollny Part-of: --- diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index 422d305..5141b02 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -1389,12 +1389,6 @@ int r600_bytecode_add_alu_type(struct r600_bytecode *bc, } bc->cf_last->ndw += align(nliteral, 2); - /* at most 128 slots, one add alu can add 5 slots + 4 constants(2 slots) - * worst case */ - if ((bc->cf_last->ndw >> 1) >= 120) { - bc->force_add_cf = 1; - } - bc->cf_last->prev2_bs_head = bc->cf_last->prev_bs_head; bc->cf_last->prev_bs_head = bc->cf_last->curr_bs_head; bc->cf_last->curr_bs_head = NULL;