summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-11-29 02:40:09 -0800
committerKenneth Graunke <[email protected]>2012-12-08 18:12:21 -0800
commitbd87441ac028068f422e2c96b39f93644a0f246f (patch)
tree3d3cd07269904865f01262e3d1741eb014240423
parent5e98cefb5a088b71ed3cb8e5cd826deed7d28b37 (diff)
i965: Add missing _NEW_BUFFERS dirty bit in Gen7 SBE state.
This is needed to compute render_to_fbo. It even has the comment. NOTE: This is a candidate for stable branches. Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/gen7_sf_state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_sf_state.c b/src/mesa/drivers/dri/i965/gen7_sf_state.c
index 28c65083844..8b33514d5bd 100644
--- a/src/mesa/drivers/dri/i965/gen7_sf_state.c
+++ b/src/mesa/drivers/dri/i965/gen7_sf_state.c
@@ -142,7 +142,8 @@ upload_sbe_state(struct brw_context *brw)
const struct brw_tracked_state gen7_sbe_state = {
.dirty = {
- .mesa = (_NEW_LIGHT |
+ .mesa = (_NEW_BUFFERS |
+ _NEW_LIGHT |
_NEW_POINT |
_NEW_PROGRAM),
.brw = (BRW_NEW_CONTEXT |