i965: Add missing _NEW_BUFFERS dirty bit in Gen7 SBE state.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 29 Nov 2012 10:40:09 +0000 (02:40 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 9 Dec 2012 02:12:21 +0000 (18:12 -0800)
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 <eric@anholt.net>
src/mesa/drivers/dri/i965/gen7_sf_state.c

index 28c650838448244a6ea9dc290fe222bc369ed8bf..8b33514d5bd172302d04a9bb002291c67428cf28 100644 (file)
@@ -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 |