[Mesa-dev] [PATCH 3/4] i965: Drop bogus state flag comment.

Eric Anholt eric at anholt.net
Fri Apr 25 18:19:05 PDT 2014


This was introduced with the comment and code below it, though the code
only touches prog_data (CACHE_NEW_WM_PROG).
---
 src/mesa/drivers/dri/i965/gen6_wm_state.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/gen6_wm_state.c b/src/mesa/drivers/dri/i965/gen6_wm_state.c
index 22e0925..cbab16d 100644
--- a/src/mesa/drivers/dri/i965/gen6_wm_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_wm_state.c
@@ -279,7 +279,6 @@ upload_wm_state(struct brw_context *brw)
       dw6 |= GEN6_WM_MSDISPMODE_PERSAMPLE;
    }
 
-   /* _NEW_BUFFERS, _NEW_MULTISAMPLE */
    /* From the SNB PRM, volume 2 part 1, page 281:
     * "If the PS kernel does not need the Position XY Offsets
     * to compute a Position XY value, then this field should be
-- 
1.9.2



More information about the mesa-dev mailing list