Mesa (master): i965: Drop bogus state flag comment.

Eric Anholt anholt at kemper.freedesktop.org
Wed Apr 30 21:53:46 UTC 2014


Module: Mesa
Branch: master
Commit: e739558c9d6019206406ee92f7db0eea8e65ad81
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e739558c9d6019206406ee92f7db0eea8e65ad81

Author: Eric Anholt <eric at anholt.net>
Date:   Fri Apr 25 16:47:35 2014 -0700

i965: Drop bogus state flag comment.

This was introduced with the comment and code below it, though the code
only touches prog_data (CACHE_NEW_WM_PROG).

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 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




More information about the mesa-commit mailing list