softpipe: split texture and surface tile caches
[mesa.git] / src / gallium / drivers / softpipe / sp_state_sampler.c
index 99a28c0d7e03a8ba487901ec8ad059ab4b4c634c..a725925264a4183ac7cf63b6c42401b1ad541ad4 100644 (file)
@@ -30,7 +30,6 @@
  */
 
 #include "util/u_memory.h"
-#include "pipe/p_inlines.h"
 
 #include "draw/draw_context.h"
 
@@ -38,7 +37,7 @@
 #include "sp_context.h"
 #include "sp_state.h"
 #include "sp_texture.h"
-#include "sp_tile_cache.h"
+#include "sp_tex_tile_cache.h"
 #include "draw/draw_context.h"
 
 
@@ -98,7 +97,7 @@ softpipe_set_sampler_textures(struct pipe_context *pipe,
       struct pipe_texture *tex = i < num ? texture[i] : NULL;
 
       pipe_texture_reference(&softpipe->texture[i], tex);
-      sp_tile_cache_set_texture(pipe, softpipe->tex_cache[i], tex);
+      sp_tex_tile_cache_set_texture(softpipe->tex_cache[i], tex);
    }
 
    softpipe->num_textures = num;