From: Francisco Jerez Date: Thu, 5 Feb 2015 20:58:03 +0000 (+0200) Subject: i965/vec4: Make vec4_visitor::implied_mrf_writes() return zero for sends from GRF. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ad486077e122c19b603750e19dd678bb7793d5b;p=mesa.git i965/vec4: Make vec4_visitor::implied_mrf_writes() return zero for sends from GRF. Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index 5ad9da291df..48b2a6902f6 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -287,7 +287,7 @@ vec4_instruction::can_do_source_mods(struct brw_context *brw) int vec4_visitor::implied_mrf_writes(vec4_instruction *inst) { - if (inst->mlen == 0) + if (inst->mlen == 0 || inst->is_send_from_grf()) return 0; switch (inst->opcode) {