i965: Add cache unit -> bo name mapping for more gen6 state objects.
authorEric Anholt <eric@anholt.net>
Fri, 28 May 2010 19:50:55 +0000 (12:50 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 28 May 2010 19:51:48 +0000 (12:51 -0700)
This will help in bufmgr debugging and aub dumping.

src/mesa/drivers/dri/i965/brw_state_cache.c

index c08cb45b75c1b8e701cce7774d608c191149be47..c4431b5a323253d18c8f31524c68cfd7f9251b5f 100644 (file)
@@ -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);
 }