lima/gpir/sched: Handle more special ops in can_use_complex()
authorConnor Abbott <cwabbott0@gmail.com>
Sat, 27 Jul 2019 18:24:32 +0000 (20:24 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Sun, 28 Jul 2019 21:38:31 +0000 (23:38 +0200)
commit6fc7384fd44f0b42c6decac4468bba06b28a8186
tree998dc4b342de8bffe9f4a6c9227891d7317e042c
parentaf95f80a24360ee30cffb35e386e93e94946204e
lima/gpir/sched: Handle more special ops in can_use_complex()

We were missing handling for a few other ops that rearrange their
sources somehow in codegen, namely complex2 and select.

This should fix spec@glsl-1.10@execution@built-in-functions@vs-asin-vec3
and possibly other random regressions from the new scheduler which were
supposed to be fixed in the commit right after.

Fixes: 54434fe6706 ("lima/gpir: Rework the scheduler")
Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Acked-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/ir/gp/scheduler.c