lima/ppir: add control flow support
authorVasily Khoruzhick <anarsoul@gmail.com>
Mon, 19 Aug 2019 06:37:23 +0000 (23:37 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Sat, 24 Aug 2019 15:17:31 +0000 (08:17 -0700)
commit28d4b456a582c1388fc3dde45e98cc97389485dc
tree2095737304fb69d3387ab0e3bf718565c16cbfc0
parent1cdf585613da37f23d737ac4713af0484d4a30d7
lima/ppir: add control flow support

This commit adds support for nir_jump_instr, if and loop
nir_cf_nodes.

Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Erico Nunes <nunes.erico@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/ppir.h