softpipe: remove tex sample dependencies on softpipe
authorBrian Paul <brianp@vmware.com>
Fri, 21 Aug 2009 20:04:47 +0000 (14:04 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 21 Aug 2009 20:04:51 +0000 (14:04 -0600)
The texture sampling code doesn't really have any dependencies on the
rest of softpipe, just the tile cache.

src/gallium/drivers/softpipe/sp_tex_sample.c

index 8f3dc12d0fa8a0e4dc02258cce40cc4f25a8f66d..a9efb82491bcca353ee12105e3dfb4456ebae05e 100644 (file)
  *   Keith Whitwell
  */
 
-#include "sp_context.h"
-#include "sp_quad.h"
-#include "sp_surface.h"
-#include "sp_texture.h"
-#include "sp_tex_sample.h"
-#include "sp_tile_cache.h"
 #include "pipe/p_context.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_shader_tokens.h"
 #include "util/u_math.h"
 #include "util/u_memory.h"
+#include "sp_quad.h"   /* only for #define QUAD_* tokens */
+#include "sp_tex_sample.h"
+#include "sp_tile_cache.h"