i965/fs: Set execution controls correctly in lower_integer_multiplication().
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 27 Jul 2015 15:38:59 +0000 (18:38 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:14:42 +0000 (14:14 +0300)
lower_integer_multiplication() was ignoring the execution controls of
the original MUL instruction.  Fix it by using the new fs_builder
constructor.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 50ea1b271d9da25ba86d091d33f60f976b97e95d..02a11d0d1ae2a13be5f1b64dd57ed166d655f7c4 100644 (file)
@@ -3139,7 +3139,7 @@ fs_visitor::lower_integer_multiplication()
            inst->dst.type != BRW_REGISTER_TYPE_UD))
          continue;
 
-      const fs_builder ibld = bld.at(block, inst);
+      const fs_builder ibld(this, block, inst);
 
       /* The MUL instruction isn't commutative. On Gen <= 6, only the low
        * 16-bits of src0 are read, and on Gen >= 7 only the low 16-bits of