Module: Mesa Branch: master Commit: dadc32ac8072cf78b405d1b54414e1f020b0de41 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dadc32ac8072cf78b405d1b54414e1f020b0de41
Author: Eric Anholt <e...@anholt.net> Date: Tue Dec 2 12:58:27 2014 -0800 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 cd731bc..c43b9b6 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 }, _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit