summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_setup_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-21 15:21:11 +0100
committerKeith Whitwell <keithw@vmware.com>2009-10-21 15:21:11 +0100
commit694f05ac18c54253910678709f2dd35c36f1e912 (patch)
treeb31c2342f3985ce6e7fea13cda7d5199ab847b1d /src/gallium/drivers/llvmpipe/lp_setup_context.h
parent341edde1d2e9f9f989d41869cc436b51942941e4 (diff)
llvmpipe: remove one of two definitions of TILESIZE
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_context.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_context.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_context.h b/src/gallium/drivers/llvmpipe/lp_setup_context.h
index d91ffc7c20..938f6ce262 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_context.h
+++ b/src/gallium/drivers/llvmpipe/lp_setup_context.h
@@ -30,14 +30,15 @@
#include "lp_setup.h"
#include "lp_rast.h"
+#include "lp_tile_soa.h" /* for TILE_SIZE */
/* We're limited to 2K by 2K for 32bit fixed point rasterization.
* Will need a 64-bit version for larger framebuffers.
*/
#define MAXHEIGHT 2048
#define MAXWIDTH 2048
-#define TILES_X (MAXWIDTH / TILESIZE)
-#define TILES_Y (MAXHEIGHT / TILESIZE)
+#define TILES_X (MAXWIDTH / TILE_SIZE)
+#define TILES_Y (MAXHEIGHT / TILE_SIZE)
#define CMD_BLOCK_MAX 128
#define DATA_BLOCK_SIZE (16 * 1024 - sizeof(unsigned) - sizeof(void *))