softpipe: remove unused #includes, move comment
authorBrian Paul <brianp@vmware.com>
Thu, 10 Sep 2009 22:50:18 +0000 (16:50 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 10 Sep 2009 22:50:18 +0000 (16:50 -0600)
src/gallium/drivers/softpipe/sp_texture.c

index 9a3f8f3d53b0d6d0fbad4f0fe4ac3d491f522cbe..1a9646147b86a4085534d0801078975a1c1d776f 100644 (file)
   *   Michel Dänzer <michel@tungstengraphics.com>
   */
 
-#include "pipe/p_context.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_inlines.h"
-#include "pipe/internal/p_winsys_screen.h"
 #include "util/u_math.h"
 #include "util/u_memory.h"
 
 #include "sp_context.h"
 #include "sp_state.h"
 #include "sp_texture.h"
-#include "sp_tile_cache.h"
 #include "sp_screen.h"
 #include "sp_winsys.h"
 
 
-/* Simple, maximally packed layout.
- */
-
-
 /**
  * Conventional allocation path for non-display textures:
+ * Use a simple, maximally packed layout.
  */
 static boolean
 softpipe_texture_layout(struct pipe_screen *screen,