diff options
author | Eric Anholt <eric@anholt.net> | 2010-01-18 13:27:47 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-01-19 11:31:05 -0800 |
commit | 62a96f74c9a1fd07301d349e4181a7212fc7d45c (patch) | |
tree | dfd4aa4ec73de7948d4f32dee704af484c87d32e /src/mesa/drivers/dri/i965/brw_sf_state.c | |
parent | 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3 (diff) |
i965: Allow for variable-sized auxdata in the state cache.
Everything has been constant-sized until now, but constant buffer
handling changes will make us want some additional variable sized
array.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sf_state.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf_state.c b/src/mesa/drivers/dri/i965/brw_sf_state.c index 09223b7cfb..b9b42cd6d5 100644 --- a/src/mesa/drivers/dri/i965/brw_sf_state.c +++ b/src/mesa/drivers/dri/i965/brw_sf_state.c @@ -309,8 +309,7 @@ sf_unit_create_from_key(struct brw_context *brw, struct brw_sf_unit_key *key, bo = brw_upload_cache(&brw->cache, BRW_SF_UNIT, key, sizeof(*key), reloc_bufs, 2, - &sf, sizeof(sf), - NULL, NULL); + &sf, sizeof(sf)); /* STATE_PREFETCH command description describes this state as being * something loaded through the GPE (L2 ISC), so it's INSTRUCTION domain. |