Mesa (master): i965/fs: respect force_sechalf/force_writemask_all in CSE

Iago Toral Quiroga itoral at kemper.freedesktop.org
Mon Nov 23 07:37:41 UTC 2015


Module: Mesa
Branch: master
Commit: 70171a9c89ebd885f30bd432452ee35099b6874a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70171a9c89ebd885f30bd432452ee35099b6874a

Author: Connor Abbott <connor.w.abbott at intel.com>
Date:   Tue Aug 11 14:25:36 2015 -0700

i965/fs: respect force_sechalf/force_writemask_all in CSE

Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_fs_cse.cpp |    2 ++
 1 file changed, 2 insertions(+)

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);




More information about the mesa-commit mailing list