diff options
author | Eric Anholt <eric@anholt.net> | 2010-06-10 17:09:21 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-11 00:15:56 -0700 |
commit | 118a47623a11a374df371d52ed0294224e6a62dc (patch) | |
tree | 78a6729df0300cd06930060f5fda54e94346c447 /src/mesa/drivers/dri/i965/brw_state_upload.c | |
parent | 321014156b3f7842a84d9b9915389c9f6f6486f5 (diff) |
i965: Split constant buffer setup from its surface state/binding state.
This was bothering me when redoing the binding tables.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state_upload.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state_upload.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c index e0c121f312..08535bb59c 100644 --- a/src/mesa/drivers/dri/i965/brw_state_upload.c +++ b/src/mesa/drivers/dri/i965/brw_state_upload.c @@ -63,6 +63,9 @@ static const struct brw_tracked_state *gen4_atoms[] = &brw_cc_unit, + &brw_vs_constants, /* Before vs_surfaces and constant_buffer */ + &brw_wm_constants, /* Before wm_surfaces and constant_buffer */ + &brw_vs_surfaces, /* must do before unit */ &brw_wm_constant_surface, /* must do before wm surfaces/bind bo */ &brw_wm_surfaces, /* must do before samplers and unit */ |