Mesa (softpipe-opt): softpipe: remove tex sample dependencies on softpipe

Brian Paul brianp at kemper.freedesktop.org
Fri Aug 21 20:08:31 UTC 2009


Module: Mesa
Branch: softpipe-opt
Commit: d204659c8c725c02212ad4a49275c7447f2d02a6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d204659c8c725c02212ad4a49275c7447f2d02a6

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Aug 21 14:04:47 2009 -0600

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.

---

 src/gallium/drivers/softpipe/sp_tex_sample.c |    9 +++------
 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 8f3dc12..a9efb82 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"
 
 
 




More information about the mesa-commit mailing list