From b0aa94fb63e8bc4be991f6dcadc66613054b0ddd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 7 Aug 2009 18:05:29 -0700 Subject: Align tiled pixmap height so we don't address beyond the end of our buffers (plus fix) Original alignment patch (cherry picked from commit 222b52ef16895823fbf3a0fc0be4eb23b930ed1b) with subsequent "Fix math in the tiling alignment fix" squashed (cherry picked from commit e8f0763d405a8152c74c28792c52fe12c1d41dd5) --- src/i965_render.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/i965_render.c') diff --git a/src/i965_render.c b/src/i965_render.c index eeb23e12..1a8075bc 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -251,8 +251,6 @@ i965_check_composite(int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture, } -#define ALIGN(i,m) (((i) + (m) - 1) & ~((m) - 1)) -#define MIN(a,b) ((a) < (b) ? (a) : (b)) #define BRW_GRF_BLOCKS(nreg) ((nreg + 15) / 16 - 1) /* Set up a default static partitioning of the URB, which is supposed to -- cgit v1.2.3