From: Jason Ekstrand Date: Sat, 8 Nov 2014 00:07:22 +0000 (-0800) Subject: i965/fs_nir: Turn on the peephole select optimization X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c937bdb3c2c41c5bf914ae7ead9223b8b87e9fe2;p=mesa.git i965/fs_nir: Turn on the peephole select optimization Reviewed-by: Connor Abbott --- 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);