From: Eric Anholt Date: Fri, 28 May 2010 19:50:55 +0000 (-0700) Subject: i965: Add cache unit -> bo name mapping for more gen6 state objects. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=828f648ac3b6d32a643cd1188ffbf45a1c7153a3;p=mesa.git i965: Add cache unit -> bo name mapping for more gen6 state objects. This will help in bufmgr debugging and aub dumping. --- 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); }