lima: re-run nir_opt_algebraic after int lowering
authorErico Nunes <nunes.erico@gmail.com>
Sun, 4 Aug 2019 21:43:44 +0000 (23:43 +0200)
committerErico Nunes <nunes.erico@gmail.com>
Mon, 5 Aug 2019 21:36:35 +0000 (23:36 +0200)
commit9e8f8dbcd1ceea94d74d74a6b45cad146a699b1f
treee7d6ef957bd3b626316537ecc43c42f57c26dd93
parent3db49491978a72eaea8b4735f0ba805dbc87b7d7
lima: re-run nir_opt_algebraic after int lowering

nir_lower_int_to_float is currently only meant to run once, and some ops
must be lowered after being converted from int ops to be implementable,
so re-run nir_opt_algebraic after lowering ints to floats.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/lima_program.c