summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_state.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-11-05 10:25:34 -0800
committerEric Anholt <eric@anholt.net>2009-11-06 11:37:32 -0800
commit8395da2e8af40367714c70afe299568272f36cc8 (patch)
treed0e9c156972b6f257df14efd7a2abc55644ef8fd /src/mesa/drivers/dri/i965/brw_state.h
parent1166294d1dd253da63620235100a11f1981aa86d (diff)
i965: Always pass the size argument to brw_cache_data.
This keeps the individual state files from having to export their structures for brw_state_cache initialization.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_state.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h
index d639656b9d..ab6f158080 100644
--- a/src/mesa/drivers/dri/i965/brw_state.h
+++ b/src/mesa/drivers/dri/i965/brw_state.h
@@ -119,16 +119,10 @@ void brw_destroy_state(struct brw_context *brw);
dri_bo *brw_cache_data(struct brw_cache *cache,
enum brw_cache_id cache_id,
const void *data,
+ GLuint size,
dri_bo **reloc_bufs,
GLuint nr_reloc_bufs);
-dri_bo *brw_cache_data_sz(struct brw_cache *cache,
- enum brw_cache_id cache_id,
- const void *data,
- GLuint data_size,
- dri_bo **reloc_bufs,
- GLuint nr_reloc_bufs);
-
dri_bo *brw_upload_cache( struct brw_cache *cache,
enum brw_cache_id cache_id,
const void *key,