diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 2 |
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 05fe3966292..22c8c0a39f5 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -61,6 +61,8 @@ fs_visitor::emit_nir_code() nir_validate_shader(nir); nir_opt_dce(nir); nir_validate_shader(nir); + nir_opt_peephole_select(nir); + nir_validate_shader(nir); nir_print_shader(nir, stderr); nir_convert_from_ssa(nir); |