lima/ppir: move alu vec to scalar lowering into NIR
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 3 Aug 2019 16:59:27 +0000 (09:59 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Sun, 4 Aug 2019 02:17:12 +0000 (02:17 +0000)
commitc780af777158d7b351f22423556f455338cd7ed3
treebc531c7dcff902d70342a07206df301c192a4dd6
parentaebca3961b4161574b889201f48c38bd73e2f7c3
lima/ppir: move alu vec to scalar lowering into NIR

Utgard PP is vec4, but some operations are scalar, utilize
NIR vec to scalar lowering pass and indicate operations that we
want to lower.

Reviewed-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/pp/lower.c
src/gallium/drivers/lima/lima_program.c