This is only compile tested. I have not collected any shader-db or fossil-db data. v2: Drop the calls to nir_opt_constant_folding. The builder in nir_lower_flrp will already take care of this. v3: NIR_PASS_V is gone. Noticed by Marge. Acked-by: Juan A. Suarez Romero <jasuarez@igalia.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12526>