lima: enable nir fsign lowering in ppir
authorErico Nunes <nunes.erico@gmail.com>
Tue, 16 Apr 2019 20:49:51 +0000 (22:49 +0200)
committerEric Anholt <eric@anholt.net>
Fri, 19 Apr 2019 15:42:23 +0000 (15:42 +0000)
commit2288b59ddc4925aaa09b416bdd6d95f4f24199db
tree318a6beee0a37d5a512475f98a38e7f096ce0a47
parent4577eb7b7cddb0a5dd2ee77682eab01a4d55676b
lima: enable nir fsign lowering in ppir

The mali utgard pp doesn't support a sign instruction.
Use the nir lowering function for fsign to implement fsign in ppir.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/lima/lima_program.c