summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-04-22 11:29:49 -0600
committerBrian Paul <brianp@vmware.com>2009-04-22 11:29:49 -0600
commit21a422d97e501f4ca68ab24ad3fe5f5eb1393349 (patch)
treed0cc53cf3e171b249003749cc08ba19d8d306fb3
parentc0c58cf5cfc11b9256287871660cc16966e662ef (diff)
i965: remove old code to init surface-related cache IDs
These types are only found in the new surface state cache now.
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_cache.c14
1 files changed, 0 insertions, 14 deletions
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
}