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_clip_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_clip_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clip_state.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_state.c b/src/mesa/drivers/dri/i965/brw_clip_state.c index c8f24a94e4..22df7722b6 100644 --- a/src/mesa/drivers/dri/i965/brw_clip_state.c +++ b/src/mesa/drivers/dri/i965/brw_clip_state.c @@ -143,8 +143,7 @@ clip_unit_create_from_key(struct brw_context *brw, bo = brw_upload_cache(&brw->cache, BRW_CLIP_UNIT, key, sizeof(*key), &brw->clip.prog_bo, 1, - &clip, sizeof(clip), - NULL, NULL); + &clip, sizeof(clip)); /* Emit clip program relocation */ assert(brw->clip.prog_bo); |