[Mesa-dev] [PATCH] i965: Add missing _NEW_BUFFERS dirty bit in Gen7 SBE state.

Kenneth Graunke kenneth at whitecape.org
Thu Nov 29 02:42:11 PST 2012


This is needed to compute render_to_fbo.  It even has the comment.

NOTE: This is a candidate for stable branches.
---
 src/mesa/drivers/dri/i965/gen7_sf_state.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/gen7_sf_state.c b/src/mesa/drivers/dri/i965/gen7_sf_state.c
index 28c6508..8b33514 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 |
-- 
1.8.0.1



More information about the mesa-dev mailing list