i965/fs: Switch lower_logical_sends() to the fs_builder constructor from instruction.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 27 Jul 2015 15:41:18 +0000 (18:41 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:15:23 +0000 (14:15 +0300)
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 354c45f6ec0bcfc43db7c6dfccaac9f550d65250..b4468e8307e6642530d97737d54c5f800b7b8351 100644 (file)
@@ -3957,9 +3957,7 @@ fs_visitor::lower_logical_sends()
    bool progress = false;
 
    foreach_block_and_inst_safe(block, fs_inst, inst, cfg) {
-      const fs_builder ibld = bld.exec_all(inst->force_writemask_all)
-                                 .group(inst->exec_size, inst->force_sechalf)
-                                 .at(block, inst);
+      const fs_builder ibld(this, block, inst);
 
       switch (inst->opcode) {
       case FS_OPCODE_FB_WRITE_LOGICAL: