From: Connor Abbott Date: Tue, 11 Aug 2015 21:25:36 +0000 (-0700) Subject: i965/fs: respect force_sechalf/force_writemask_all in CSE X-Git-Tag: upstream/17.1.0~14300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70171a9c89ebd885f30bd432452ee35099b6874a;p=platform%2Fupstream%2Fmesa.git i965/fs: respect force_sechalf/force_writemask_all in CSE Reviewed-by: Iago Toral Quiroga Reviewed-by: Matt Turner Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp index 3c40fcd..3b65a38 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp @@ -210,6 +210,8 @@ create_copy_instr(const fs_builder &bld, fs_inst *inst, fs_reg src, bool negate) copy = bld.LOAD_PAYLOAD(inst->dst, payload, sources, header_size); } else { copy = bld.MOV(inst->dst, src); + copy->force_sechalf = inst->force_sechalf; + copy->force_writemask_all = inst->force_writemask_all; copy->src[0].negate = negate; } assert(copy->regs_written == written);