summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_tex_sample.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-08-21 14:04:47 -0600
committerBrian Paul <brianp@vmware.com>2009-08-21 14:04:51 -0600
commitd204659c8c725c02212ad4a49275c7447f2d02a6 (patch)
tree2d87fae52fb6711568a2b5ef13d2621fd494d9b9 /src/gallium/drivers/softpipe/sp_tex_sample.c
parent3adc8c3779895c483ba8a1004939e7dd7d76fa9a (diff)
softpipe: remove tex sample dependencies on softpipe
The texture sampling code doesn't really have any dependencies on the rest of softpipe, just the tile cache.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_tex_sample.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_tex_sample.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c
index 8f3dc12d0f..a9efb82491 100644
--- a/src/gallium/drivers/softpipe/sp_tex_sample.c
+++ b/src/gallium/drivers/softpipe/sp_tex_sample.c
@@ -34,17 +34,14 @@
* 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"