i965: remove old code to init surface-related cache IDs
authorBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2009 17:29:49 +0000 (11:29 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2009 17:29:49 +0000 (11:29 -0600)
These types are only found in the new surface state cache now.

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

index cbae68798cdff848447d4382bd41428715d21793..320d886c9922dfa0e5a9b2cc94711888ec3a61c3 100644 (file)
@@ -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
 }