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:
34cf86b
)
vc4: Allow dead code elimination of color reads.
author
Eric Anholt
<eric@anholt.net>
Tue, 2 Dec 2014 20:58:27 +0000
(12:58 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 5 Dec 2014 18:43:14 +0000
(10:43 -0800)
This might happen if the blending functions are set up to not actually use
the destination color/alpha, for example.
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
cd731bc
..
c43b9b6
100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_qir.c
+++ b/
src/gallium/drivers/vc4/vc4_qir.c
@@
-80,7
+80,7
@@
static const struct qir_op_info qir_op_info[] = {
[QOP_TLB_STENCIL_SETUP] = { "tlb_stencil_setup", 0, 1, true },
[QOP_TLB_Z_WRITE] = { "tlb_z", 0, 1, true },
[QOP_TLB_COLOR_WRITE] = { "tlb_color", 0, 1, true },
- [QOP_TLB_COLOR_READ] = { "tlb_color_read", 1, 0
, true
},
+ [QOP_TLB_COLOR_READ] = { "tlb_color_read", 1, 0 },
[QOP_VARY_ADD_C] = { "vary_add_c", 1, 1 },
[QOP_FRAG_X] = { "frag_x", 1, 0 },