gallium: add void *user_buffer in pipe_index_buffer
[mesa.git] / src / gallium / drivers / softpipe / sp_texture.h
index 6b205dc53290cca4b6747aa1d5fbd6ad21cf985f..533d6252e259b5ae2cbffd2956e46f989698e3c3 100644 (file)
 
 
 #include "pipe/p_state.h"
-
-
-#define SP_MAX_TEXTURE_2D_LEVELS 13  /* 4K x 4K */
-#define SP_MAX_TEXTURE_3D_LEVELS 9   /* 512 x 512 x 512 */
+#include "sp_limits.h"
 
 
 struct pipe_context;
@@ -82,7 +79,6 @@ struct softpipe_transfer
 };
 
 
-
 /** cast wrappers */
 static INLINE struct softpipe_resource *
 softpipe_resource(struct pipe_resource *pt)