i965: rename brw_state_cache.c -> brw_program_cache.c
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
a5e88e66e6
commit
0d897be973
|
@ -139,6 +139,7 @@ i965_FILES = \
|
|||
brw_pipe_control.c \
|
||||
brw_program.c \
|
||||
brw_program.h \
|
||||
brw_program_cache.c \
|
||||
brw_primitive_restart.c \
|
||||
brw_queryobj.c \
|
||||
brw_reset.c \
|
||||
|
@ -148,7 +149,6 @@ i965_FILES = \
|
|||
brw_sf.h \
|
||||
brw_sf_state.c \
|
||||
brw_state_batch.c \
|
||||
brw_state_cache.c \
|
||||
brw_state_dump.c \
|
||||
brw_state.h \
|
||||
brw_state_upload.c \
|
||||
|
|
|
@ -178,7 +178,7 @@ enum brw_cache_id {
|
|||
};
|
||||
|
||||
enum brw_state_id {
|
||||
/* brw_cache_ids must come first - see brw_state_cache.c */
|
||||
/* brw_cache_ids must come first - see brw_program_cache.c */
|
||||
BRW_STATE_URB_FENCE = BRW_MAX_CACHE,
|
||||
BRW_STATE_FRAGMENT_PROGRAM,
|
||||
BRW_STATE_GEOMETRY_PROGRAM,
|
||||
|
|
|
@ -29,13 +29,13 @@
|
|||
* Keith Whitwell <keithw@vmware.com>
|
||||
*/
|
||||
|
||||
/** @file brw_state_cache.c
|
||||
/** @file brw_program_cache.c
|
||||
*
|
||||
* This file implements a simple static state cache for 965. The
|
||||
* consumers can query the hash table of state using a cache_id,
|
||||
* opaque key data, and receive the corresponding state buffer object
|
||||
* of state (plus associated auxiliary data) in return. Objects in
|
||||
* the cache may not have relocations (pointers to other BOs) in them.
|
||||
* This file implements a simple program cache for 965. The consumers can
|
||||
* query the hash table of programs using a cache_id and program key, and
|
||||
* receive the corresponding program buffer object (plus associated auxiliary
|
||||
* data) in return. Objects in the cache may not have relocations
|
||||
* (pointers to other BOs) in them.
|
||||
*
|
||||
* The inner workings are a simple hash table based on a CRC of the
|
||||
* key data.
|
|
@ -217,7 +217,7 @@ brw_select_pipeline(struct brw_context *brw, enum brw_pipeline pipeline)
|
|||
}
|
||||
|
||||
/***********************************************************************
|
||||
* brw_state_cache.c
|
||||
* brw_program_cache.c
|
||||
*/
|
||||
|
||||
void brw_upload_cache(struct brw_cache *cache,
|
||||
|
|
Loading…
Reference in New Issue