r600/sfn: Correctly update the number of literals when forcing a new
authorGert Wollny <gert.wollny@collabora.com>
Sat, 23 May 2020 16:28:05 +0000 (18:28 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 May 2020 06:17:42 +0000 (06:17 +0000)
commitcead23cb8ac3fbfdcbc69df024d7ef0c4d9cd1b9
treedeba256d65a37eb4c9a50d6de6a61d7dc6ff4605
parent12381a04108332d56b46dccd9145cb6e6fa5534e
r600/sfn: Correctly update the number of literals when forcing a new
group

When forcing a new instruction group by adding a ALU_OP_NOP, the
literals for the instruction that triggered this must be taken into
account for the next group, so update the number of literals
accordingly.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5187>
src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp