Mesa (master): i965: Fix typo in comment about state flags.

Eric Anholt anholt at kemper.freedesktop.org
Tue Oct 26 21:12:24 UTC 2010


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

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Oct 26 12:19:46 2010 -0700

i965: Fix typo in comment about state flags.

---

 src/mesa/drivers/dri/i965/gen6_wm_state.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/gen6_wm_state.c b/src/mesa/drivers/dri/i965/gen6_wm_state.c
index ce489f0..82d1277 100644
--- a/src/mesa/drivers/dri/i965/gen6_wm_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_wm_state.c
@@ -115,7 +115,7 @@ upload_wm_state(struct brw_context *brw)
    dw5 |= GEN6_WM_LINE_AA_WIDTH_1_0;
    dw5 |= GEN6_WM_LINE_END_CAP_AA_WIDTH_0_5;
 
-   /* BRW_NEW_NR_SURFACES */
+   /* BRW_NEW_NR_WM_SURFACES */
    dw2 |= brw->wm.nr_surfaces << GEN6_WM_BINDING_TABLE_ENTRY_COUNT_SHIFT;
 
    /* CACHE_NEW_SAMPLER */




More information about the mesa-commit mailing list