radeonsi: lower ffma in nir to mad.
authorDave Airlie <airlied@redhat.com>
Tue, 10 Oct 2017 03:23:40 +0000 (13:23 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Oct 2017 21:33:32 +0000 (07:33 +1000)
commit80bbdb148335c55303960bab841d98f4fbd1feea
tree36552a395d19280beafd651e5e9e1a8fec4a5e7f
parent2c61594d84911f486aa2edb4b8e561e780139d20
radeonsi: lower ffma in nir to mad.

This lowers ffma to a * b + c.

This seems like it should keep Marek happiest, so
we'd never get to the fma instruction emission code.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/radeonsi/si_pipe.c