Skip to content

nir, st, and drivers: Clean up fmod lowering, actually use NIR lowering in NIR-based Gallium drivers

Kenneth Graunke requested to merge kwg/mesa:fmod into master

This series drops nir_shader_compiler_options::lower_fmod64 which is redundant with the nir_lower_doubles() nir_lower_dmod flag. It combines lower_fmod16 and lower_fmod32 back into a single flag. It makes Gallium drivers use the NIR-based lowering, and finally shuts off the GLSL IR based lowering in st/mesa.

This is an alternative to MR !904 (closed). I originally made a non-invasive change, but after some discussion with Ian and Marek it seemed best to do some housekeeping.

Merge request reports

Loading