projects
/
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 216abb37828cac952384f08db502ce37a759b65b..69152e79dda15a1fb2c4a6d05bde3c2dfe4b4d87 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;
}