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>
.lower_fsat = false,
.lower_fsqrt = false, // TODO: only before gm200
.lower_fmod32 = true,
- .lower_fmod64 = true,
.lower_bitfield_extract = false,
.lower_bitfield_extract_to_shifts = false,
.lower_bitfield_insert = false,
.lower_mul_2x32_64 = true, // TODO
.max_unroll_iterations = 32,
.lower_int64_options = nir_lower_divmod64, // TODO
- .lower_doubles_options = 0, // TODO
+ .lower_doubles_options = nir_lower_dmod, // TODO
};
static const void *