projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965/vec4: Ignore swizzle of VGRF for use by var_range_end().
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_vec4_cse.cpp
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
index 0c1f0c31b0dd42a9c74ffdeb0cd5c842524c09fd..10898a5917d84400d32b1ad781aa58769a4a1a30 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
@@
-246,7
+246,7
@@
vec4_visitor::opt_cse_local(bblock_t *block)
* more -- a sure sign they'll fail operands_match().
*/
if (src->file == VGRF) {
- if (var_range_end(var_from_reg(alloc,
*src
), 4) < ip) {
+ if (var_range_end(var_from_reg(alloc,
dst_reg(*src)
), 4) < ip) {
entry->remove();
ralloc_free(entry);
break;