projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda7698
)
i965/vec4: Don't attempt to reduce swizzles of send from GRF instructions.
author
Francisco Jerez
<currojerez@riseup.net>
Tue, 3 Feb 2015 18:34:17 +0000
(20:34 +0200)
committer
Francisco Jerez
<currojerez@riseup.net>
Thu, 19 Feb 2015 12:06:42 +0000
(14:06 +0200)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4.cpp
b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 58828c3f320b347e6f3e49058296a3e24c194b77..0a68413bfba0114e0d5f7331fd4d6d10bb2f3073 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4.cpp
@@
-455,7
+455,8
@@
vec4_visitor::opt_reduce_swizzle()
bool progress = false;
foreach_block_and_inst_safe(block, vec4_instruction, inst, cfg) {
- if (inst->dst.file == BAD_FILE || inst->dst.file == HW_REG)
+ if (inst->dst.file == BAD_FILE || inst->dst.file == HW_REG ||
+ inst->is_send_from_grf())
continue;
int swizzle[4];