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:
5e90ed7
)
vc4: Allow dead code elimination of instructions that read uniforms.
author
Eric Anholt
<eric@anholt.net>
Tue, 16 Sep 2014 23:02:27 +0000
(16:02 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 17 Sep 2014 21:21:24 +0000
(14:21 -0700)
src/gallium/drivers/vc4/vc4_qir.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_qir.c
b/src/gallium/drivers/vc4/vc4_qir.c
index
216abb3
..
69152e7
100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_qir.c
+++ b/
src/gallium/drivers/vc4/vc4_qir.c
@@
-120,8
+120,7
@@
bool
qir_has_side_effects(struct qinst *inst)
{
for (int i = 0; i < qir_get_op_nsrc(inst->op); i++) {
- if (inst->src[i].file == QFILE_VARY ||
- inst->src[i].file == QFILE_UNIF)
+ if (inst->src[i].file == QFILE_VARY)
return true;
}