summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-05-28 12:50:55 -0700
committerEric Anholt <[email protected]>2010-05-28 12:51:48 -0700
commit828f648ac3b6d32a643cd1188ffbf45a1c7153a3 (patch)
treef816291ee8229a3f3bd76c5a63b1756464a5042b
parent9390af0d9636ed8e985ff22cdbbbf9b12c3a7586 (diff)
i965: Add cache unit -> bo name mapping for more gen6 state objects.
This will help in bufmgr debugging and aub dumping.
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_cache.c b/src/mesa/drivers/dri/i965/brw_state_cache.c
index c08cb45b75c..c4431b5a323 100644
--- a/src/mesa/drivers/dri/i965/brw_state_cache.c
+++ b/src/mesa/drivers/dri/i965/brw_state_cache.c
@@ -386,11 +386,14 @@ brw_init_non_surface_cache(struct brw_context *brw)
brw_init_cache_id(cache, "CLIP_UNIT", BRW_CLIP_UNIT);
brw_init_cache_id(cache, "CLIP_PROG", BRW_CLIP_PROG);
+ brw_init_cache_id(cache, "CLIP_VP", BRW_CLIP_VP);
brw_init_cache_id(cache, "GS_UNIT", BRW_GS_UNIT);
brw_init_cache_id(cache, "GS_PROG", BRW_GS_PROG);
brw_init_cache_id(cache, "BLEND_STATE", BRW_BLEND_STATE);
+ brw_init_cache_id(cache, "COLOR_CALC_STATE", BRW_COLOR_CALC_STATE);
+ brw_init_cache_id(cache, "DEPTH_STENCIL_STATE", BRW_DEPTH_STENCIL_STATE);
}