i965/fs: No need to reset predicate control after emitting some instructions.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 19 May 2016 02:47:30 +0000 (19:47 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:22:10 +0000 (23:22 -0700)
Trivial clean-up.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp

index 333480a0f550804dbccfa71d2a1799a7e7595376..39a76ebf62a83a81a05456c0f246b9f0603d0960 100644 (file)
@@ -1791,11 +1791,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: