projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae1d332
)
vc4: Don't try to register coalesce into the VPM across non-raw MOVs.
author
Eric Anholt
<eric@anholt.net>
Sun, 25 Oct 2015 00:38:26 +0000
(17:38 -0700)
committer
Eric Anholt
<eric@anholt.net>
Sun, 25 Oct 2015 00:55:38 +0000
(17:55 -0700)
No known bugs, just something I noticed while updating optimization code
for other changes.
src/gallium/drivers/vc4/vc4_opt_vpm_writes.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_opt_vpm_writes.c
b/src/gallium/drivers/vc4/vc4_opt_vpm_writes.c
index f2cdf8f694fd9cc2bc6dbb7c51786162987664b1..73ded766db9e164883346b8e1a302e9d71f04509 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_opt_vpm_writes.c
+++ b/
src/gallium/drivers/vc4/vc4_opt_vpm_writes.c
@@
-58,7
+58,7
@@
qir_opt_vpm_writes(struct vc4_compile *c)
}
for (int i = 0; i < vpm_write_count; i++) {
- if (
vpm_writes[i]->op != QOP_MOV
||
+ if (
!qir_is_raw_mov(vpm_writes[i])
||
vpm_writes[i]->src[0].file != QFILE_TEMP) {
continue;
}