summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-12-02 12:58:27 -0800
committerEric Anholt <[email protected]>2014-12-05 10:43:14 -0800
commitdadc32ac8072cf78b405d1b54414e1f020b0de41 (patch)
tree30466da35189f330235b6857baf21e8922bc1547 /src/gallium/drivers/vc4/vc4_qir.c
parent34cf86bdc48e1b350437fe831fedd4632f4e06c2 (diff)
vc4: Allow dead code elimination of color reads.
This might happen if the blending functions are set up to not actually use the destination color/alpha, for example.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c
index cd731bc5639..c43b9b60597 100644
--- 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 },