From: Brian Paul Date: Wed, 22 Apr 2009 17:29:49 +0000 (-0600) Subject: i965: remove old code to init surface-related cache IDs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21a422d97e501f4ca68ab24ad3fe5f5eb1393349;p=mesa.git i965: remove old code to init surface-related cache IDs These types are only found in the new surface state cache now. --- diff --git a/src/mesa/drivers/dri/i965/brw_state_cache.c b/src/mesa/drivers/dri/i965/brw_state_cache.c index cbae68798cd..320d886c992 100644 --- a/src/mesa/drivers/dri/i965/brw_state_cache.c +++ b/src/mesa/drivers/dri/i965/brw_state_cache.c @@ -445,20 +445,6 @@ brw_init_non_surface_cache(struct brw_context *brw) BRW_GS_PROG, sizeof(struct brw_gs_prog_key), sizeof(struct brw_gs_prog_data)); - -#if 1 - brw_init_cache_id(cache, - "SS_SURFACE", - BRW_SS_SURFACE, - sizeof(struct brw_surface_state), - 0); - - brw_init_cache_id(cache, - "SS_SURF_BIND", - BRW_SS_SURF_BIND, - 0, - 0); -#endif }