draw: Remove dead code.
[mesa.git] / src / gallium / drivers / softpipe / sp_tile_cache.h
index 3b0be274d5e94dfd6f36e0a1429eccf0090cbca1..a12092702a609f3defd8c6ff1c1acc995e6ad005 100644 (file)
@@ -34,7 +34,6 @@
 #include "pipe/p_compiler.h"
 
 
-struct softpipe_context;
 struct softpipe_tile_cache;
 
 
@@ -75,8 +74,8 @@ struct softpipe_cached_tile
 
 
 /** XXX move these */
-#define MAX_WIDTH 2048
-#define MAX_HEIGHT 2048
+#define MAX_WIDTH 4096
+#define MAX_HEIGHT 4096
 
 
 struct softpipe_tile_cache
@@ -129,7 +128,7 @@ sp_find_cached_tile(struct softpipe_tile_cache *tc,
                     union tile_address addr );
 
 
-static INLINE const union tile_address
+static INLINE union tile_address
 tile_address( unsigned x,
               unsigned y )
 {