diff options
author | Erico Nunes <[email protected]> | 2020-01-22 00:37:22 +0100 |
---|---|---|
committer | Erico Nunes <[email protected]> | 2020-01-25 14:48:55 +0100 |
commit | 4ca3de06ec35e5f72827b0cc61a4119e53500681 (patch) | |
tree | c0ff358096bb094cc8b020776cafa2fd9a0612b9 /src/gallium/drivers/lima/ir | |
parent | d6b1917c01765b21180ebecb4ca9aa80746ef560 (diff) |
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 <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3502>
Diffstat (limited to 'src/gallium/drivers/lima/ir')
-rw-r--r-- | src/gallium/drivers/lima/ir/pp/nir.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/lima/ir/pp/nir.c b/src/gallium/drivers/lima/ir/pp/nir.c index 0c91c09831b..9798d16dd1e 100644 --- a/src/gallium/drivers/lima/ir/pp/nir.c +++ b/src/gallium/drivers/lima/ir/pp/nir.c @@ -440,9 +440,6 @@ static ppir_node *ppir_emit_ssa_undef(ppir_block *block, nir_instr *ni) ppir_dest *dest = &alu->dest; dest->ssa.undef = true; - ppir_reg *ssa = &dest->ssa; - - list_add(&ssa->list, &block->comp->reg_list); return node; } |