summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_nir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
index 22c8c0a39f5..9141dc68196 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
@@ -63,6 +63,8 @@ fs_visitor::emit_nir_code()
nir_validate_shader(nir);
nir_opt_peephole_select(nir);
nir_validate_shader(nir);
+ nir_opt_peephole_ffma(nir);
+ nir_validate_shader(nir);
nir_print_shader(nir, stderr);
nir_convert_from_ssa(nir);