Mesa (master): i965: Fix comment about gen6_wm_constants.

Eric Anholt anholt at kemper.freedesktop.org
Tue Dec 7 20:21:20 UTC 2010


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

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Dec  7 11:33:34 2010 -0800

i965: Fix comment about gen6_wm_constants.

This is the push constant buffer, not the pull constants.

---

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

diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 338f387..eba4411 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -129,7 +129,7 @@ const struct brw_tracked_state *gen6_atoms[] =
 
    &brw_vs_constants, /* Before vs_surfaces and constant_buffer */
    &brw_wm_constants, /* Before wm_surfaces and constant_buffer */
-   &gen6_wm_constants, /* Before wm_surfaces and constant_buffer */
+   &gen6_wm_constants, /* Before wm_state */
 
    &brw_vs_surfaces,		/* must do before unit */
    &brw_wm_constant_surface,	/* must do before wm surfaces/bind bo */




More information about the mesa-commit mailing list