[Mesa-dev] [PATCH 2/9] i965/fs: set execution size for SEND messages in generate_uniform_pull_constant_load_gen7

Samuel Iglesias Gonsálvez siglesias at igalia.com
Thu Dec 17 05:44:28 PST 2015


From: Iago Toral Quiroga <itoral at igalia.com>

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

diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
index c25da07..42b5e86 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
@@ -1248,6 +1248,7 @@ fs_generator::generate_uniform_pull_constant_load_gen7(fs_inst *inst,
       brw_set_default_compression_control(p, BRW_COMPRESSION_NONE);
       brw_set_default_mask_control(p, BRW_MASK_DISABLE);
       brw_inst *send = brw_next_insn(p, BRW_OPCODE_SEND);
+      brw_inst_set_exec_size(devinfo, send, dst.width);
       brw_pop_insn_state(p);
 
       brw_set_dest(p, send, dst);
@@ -1279,6 +1280,7 @@ fs_generator::generate_uniform_pull_constant_load_gen7(fs_inst *inst,
       /* dst = send(payload, a0.0 | <descriptor>) */
       brw_inst *insn = brw_send_indirect_message(
          p, BRW_SFID_SAMPLER, dst, src, addr);
+      brw_inst_set_exec_size(devinfo, insn, dst.width);
       brw_set_sampler_message(p, insn,
                               0,
                               0, /* LD message ignores sampler unit */
-- 
2.5.0



More information about the mesa-dev mailing list