summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-11-07 16:07:22 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:19:01 -0800
commitc937bdb3c2c41c5bf914ae7ead9223b8b87e9fe2 (patch)
tree5055bdcc4705728f8bdc38f6bc41b603d9d6ea82 /src
parent13ec15bdbf4fa7e9681b46a4636575f1e4a700b4 (diff)
i965/fs_nir: Turn on the peephole select optimization
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src')
-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 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);