OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5679ccf
)
vc4: The r4_count is supposed to be how many writes, not reads.
author
Eric Anholt
<eric@anholt.net>
Sun, 7 Sep 2014 21:42:33 +0000
(14:42 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 10 Sep 2014 03:38:38 +0000
(20:38 -0700)
It's part of the key so that you can tell which r4 value is being read.
src/gallium/drivers/vc4/vc4_opt_cse.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_opt_cse.c
b/src/gallium/drivers/vc4/vc4_opt_cse.c
index
bc91218
..
a9b5fda
100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_opt_cse.c
+++ b/
src/gallium/drivers/vc4/vc4_opt_cse.c
@@
-173,7
+173,7
@@
qir_opt_cse(struct vc4_compile *c)
}
}
- if (qir_
read
s_r4(inst))
+ if (qir_
write
s_r4(inst))
r4_count++;
}