Mesa (master): i965: Update the gen6 stencil ref state when stencil state changes.
Eric Anholt
anholt at kemper.freedesktop.org
Thu Oct 28 23:29:29 UTC 2010
Module: Mesa
Branch: master
Commit: 9d45c7d1ce0c4ab7c981ddd15b296b2117437fa4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d45c7d1ce0c4ab7c981ddd15b296b2117437fa4
Author: Eric Anholt <eric at anholt.net>
Date: Thu Oct 28 16:09:41 2010 -0700
i965: Update the gen6 stencil ref state when stencil state changes.
Fixes 6 piglit tests about stencil operations.
---
src/mesa/drivers/dri/i965/gen6_cc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/gen6_cc.c b/src/mesa/drivers/dri/i965/gen6_cc.c
index 0d6e923..800a255 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,
},
More information about the mesa-commit
mailing list