From dadc32ac8072cf78b405d1b54414e1f020b0de41 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 2 Dec 2014 12:58:27 -0800 Subject: [PATCH] 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. --- src/gallium/drivers/vc4/vc4_qir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, -- 2.30.2