nouveau: Use nir_lower_doubles instead of lower_fmod64 on nvc0.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Jun 2019 18:43:38 +0000 (11:43 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 5 Jun 2019 23:45:12 +0000 (16:45 -0700)
commitd13059f4d50d370eec76495dd2b51fdf5c6e1aee
tree04845e57328a1c81631ca19bc1153886ff2bb639
parentfa56a3795f9f4b15013f2163193c54611fd2b8e0
nouveau: Use nir_lower_doubles instead of lower_fmod64 on nvc0.

We currently have two duplicate mechanisms for lowering fmod@64.
One is a nir_opt_algebraic rule keyed off of options->lower_fmod64,
and the other is nir_lower_doubles, which offers a full gamut of
fp64 lowering.  The latter works slightly better in some corner cases,
so I'm trying to eliminate lower_fmod64 and drop the redundancy.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c