i965: Fix comment about gen6_wm_constants.
authorEric Anholt <eric@anholt.net>
Tue, 7 Dec 2010 19:33:34 +0000 (11:33 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 7 Dec 2010 20:21:08 +0000 (12:21 -0800)
This is the push constant buffer, not the pull constants.

src/mesa/drivers/dri/i965/brw_state_upload.c

index 338f3876b31bdc6c1c77cf7ec9ffc60bee411a71..eba4411ca702a77e369cc80df47b7bd30260dfef 100644 (file)
@@ -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 */