i965/fs: Don't force MASK_DISABLE on INDIRECT_MOV instructions
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 24 Nov 2015 17:03:29 +0000 (09:03 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Apr 2016 22:59:33 +0000 (15:59 -0700)
It should work fine without it and the visitor can set it if it wants.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp

index c883fe3f259035794b7350a6eabe9b256b46de01..35400cbe8c339dca9bbc716d30b855be6fab7315 100644 (file)
@@ -366,7 +366,6 @@ fs_generator::generate_mov_indirect(fs_inst *inst,
    assert(inst->exec_size == 8 || devinfo->gen >= 8);
 
    brw_MOV(p, addr, indirect_byte_offset);
-   brw_inst_set_mask_control(devinfo, brw_last_inst, BRW_MASK_DISABLE);
    brw_MOV(p, dst, retype(brw_VxH_indirect(0, imm_byte_offset), dst.type));
 }