diff options
author | Francisco Jerez <[email protected]> | 2015-02-05 22:58:03 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-02-10 19:09:24 +0200 |
commit | 8ad486077e122c19b603750e19dd678bb7793d5b (patch) | |
tree | 3cd76d14cda8322e6e257c3df5ecda231e033869 /src | |
parent | 16b911257440afbd77a6eb762e28df62e3c19bc7 (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')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 2 |
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) { |