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 9a3f8f3..1a96461 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,