lima/ppir: fix ssa undef emit
authorErico Nunes <nunes.erico@gmail.com>
Tue, 21 Jan 2020 23:37:22 +0000 (00:37 +0100)
committerErico Nunes <nunes.erico@gmail.com>
Sat, 25 Jan 2020 13:48:55 +0000 (14:48 +0100)
commit4ca3de06ec35e5f72827b0cc61a4119e53500681
treec0ff358096bb094cc8b020776cafa2fd9a0612b9
parentd6b1917c01765b21180ebecb4ca9aa80746ef560
lima/ppir: fix ssa undef emit

The ssa doesn't need to be manually added to block->comp->reg_list.
Doing so actually causes other registers to be marked as undef=true
later.

This patch alone fixes a few deqp tests that have undefs.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3502>
.gitlab-ci/deqp-lima-fails.txt
src/gallium/drivers/lima/ir/pp/nir.c