Files
mesa/src/compiler
Erico Nunes 4577eb7b7c nir/algebraic: add lowering for fsign
The mali utgard pp doesn't support a sign instruction.
In the ARM offline shader compiler, the sign function is implemented
using sub(gt(0.0, a), lt(0.0, a)).
This is a generic optimization, so implement it in the nir level when
lower_fsign is set, alongside the lowering for isign.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2019-04-19 15:42:23 +00:00
..
2019-04-19 15:42:23 +00:00
2018-07-09 23:02:33 -07:00
2018-07-09 23:02:33 -07:00
2018-08-10 15:15:09 -07:00
2018-03-30 14:33:03 -06:00
2018-03-27 08:36:37 -04:00
2019-01-21 20:36:41 +01:00