From: Francisco Jerez Date: Mon, 27 Jul 2015 15:38:59 +0000 (+0300) Subject: i965/fs: Set execution controls correctly in lower_integer_multiplication(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff463af436bcf07430807512c9f0bf0f627288ce;p=mesa.git i965/fs: Set execution controls correctly in lower_integer_multiplication(). 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 --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 50ea1b271d9..02a11d0d1ae 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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