i965/eu: set execution size for SEND message in brw_send_indirect_message
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 3 Dec 2015 10:10:12 +0000 (11:10 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 17 Mar 2016 07:23:25 +0000 (08:23 +0100)
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c

index e8d80ccc2bf62573778fc5a7690a805c64eb8237..68524590b2d20504c3fe7d7d0db0e754fe9a994f 100644 (file)
@@ -2563,6 +2563,9 @@ brw_send_indirect_message(struct brw_codegen *p,
       brw_set_src1(p, send, addr);
    }
 
+   if (dst.width < BRW_EXECUTE_8)
+      brw_inst_set_exec_size(devinfo, send, dst.width);
+
    brw_set_dest(p, send, dst);
    brw_set_src0(p, send, retype(payload, BRW_REGISTER_TYPE_UD));
    brw_inst_set_sfid(devinfo, send, sfid);