lima/ppir: implement discard and discard_if
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 11 May 2019 02:17:40 +0000 (19:17 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Mon, 27 May 2019 14:39:03 +0000 (07:39 -0700)
commitaf0de6b91c0b2e26e57bd235cbdc7296992502d9
tree1639c188678c75a569a97be425ef8e42b14927f2
parent7a7be6139839b57a89f5c6d24d04025fa25ba4a1
lima/ppir: implement discard and discard_if

This commit also adds codegen for branch since we need it
for discard_if.

Reviewed-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/pp/codegen.c
src/gallium/drivers/lima/ir/pp/instr.c
src/gallium/drivers/lima/ir/pp/lower.c
src/gallium/drivers/lima/ir/pp/nir.c
src/gallium/drivers/lima/ir/pp/node.c
src/gallium/drivers/lima/ir/pp/node_to_instr.c
src/gallium/drivers/lima/ir/pp/ppir.h