[Mesa-dev] [PATCH 09/21] i965/fs: No need to reset predicate control after emitting some instructions.

Francisco Jerez currojerez at riseup.net
Tue May 24 07:18:46 UTC 2016


Trivial clean-up.
---
 src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
index 8828e2b..a1cb5c2 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
@@ -1786,11 +1786,9 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width)
 
       case BRW_OPCODE_BREAK:
 	 brw_BREAK(p);
-	 brw_set_default_predicate_control(p, BRW_PREDICATE_NONE);
 	 break;
       case BRW_OPCODE_CONTINUE:
          brw_CONT(p);
-	 brw_set_default_predicate_control(p, BRW_PREDICATE_NONE);
 	 break;
 
       case BRW_OPCODE_WHILE:
-- 
2.7.3



More information about the mesa-dev mailing list