From: Eric Anholt Date: Thu, 28 Oct 2010 23:09:41 +0000 (-0700) Subject: i965: Update the gen6 stencil ref state when stencil state changes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d45c7d1ce0c4ab7c981ddd15b296b2117437fa4;p=mesa.git i965: Update the gen6 stencil ref state when stencil state changes. Fixes 6 piglit tests about stencil operations. --- diff --git a/src/mesa/drivers/dri/i965/gen6_cc.c b/src/mesa/drivers/dri/i965/gen6_cc.c index 0d6e923f734..800a2555214 100644 --- a/src/mesa/drivers/dri/i965/gen6_cc.c +++ b/src/mesa/drivers/dri/i965/gen6_cc.c @@ -254,7 +254,7 @@ prepare_color_calc_state(struct brw_context *brw) const struct brw_tracked_state gen6_color_calc_state = { .dirty = { - .mesa = _NEW_COLOR, + .mesa = _NEW_COLOR | _NEW_STENCIL, .brw = 0, .cache = 0, },