nir: get ffma support from NIR options for nir_lower_flrp
[mesa.git] / src / mesa / state_tracker / st_glsl_to_nir.cpp
index 6e5df53ea1f151294a29b229f5db1f330db39641..089a134cf1e1005a01d48a48ea2ece8be0ae0735 100644 (file)
@@ -305,8 +305,7 @@ st_nir_opts(nir_shader *nir)
 
             NIR_PASS(lower_flrp_progress, nir, nir_lower_flrp,
                      lower_flrp,
-                     false /* always_precise */,
-                     nir->options->lower_ffma);
+                     false /* always_precise */);
             if (lower_flrp_progress) {
                NIR_PASS(progress, nir,
                         nir_opt_constant_folding);