summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2015-02-05 22:58:03 +0200
committerFrancisco Jerez <[email protected]>2015-02-10 19:09:24 +0200
commit8ad486077e122c19b603750e19dd678bb7793d5b (patch)
tree3cd76d14cda8322e6e257c3df5ecda231e033869 /src/mesa
parent16b911257440afbd77a6eb762e28df62e3c19bc7 (diff)
i965/vec4: Make vec4_visitor::implied_mrf_writes() return zero for sends from GRF.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp2
1 files changed, 1 insertions, 1 deletions
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) {