diff options
author | Ian Romanick <idr@us.ibm.com> | 2004-10-08 01:15:52 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2004-10-08 01:15:52 +0000 |
commit | 3eccddb746b797b4674d147839956116d8b40ae7 (patch) | |
tree | cd6ffad14fb8024ed7c4d360dc32d2813d29ef68 /src/mesa/drivers/dri/unichrome/via_context.h | |
parent | a2dc424acfe83f3c66d3509f5a1efc24ce884367 (diff) |
Massively cleaned up the code that calculates front/back/depth buffer
pitch and size. Cut out a bunch of dead code.
This fixes bugzilla #1555.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_context.h')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_context.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_context.h b/src/mesa/drivers/dri/unichrome/via_context.h index 5efd9a0226..5b2855a834 100644 --- a/src/mesa/drivers/dri/unichrome/via_context.h +++ b/src/mesa/drivers/dri/unichrome/via_context.h @@ -75,10 +75,7 @@ typedef struct via_texture_object_t *viaTextureObjectPtr; #define TAG(x) via##x #include "tnl_dd/t_dd_vertex.h" #undef TAG -#define BUFFER_ALIGNMENT 32 -#define BUFFER_ALIGN_WIDTH1(w, a) (((w) + ((a) - 1)) & ~((a) - 1)) -#define BUFFER_ALIGN_WIDTH(w, a) (((w) & ((a) - 1)) ? BUFFER_ALIGN_WIDTH1(w, a) : (w)) -#define BUFFER_ALIGN_ADDRESS(p, a) ((GLvoid *)(((GLint)(p)) + ((a)-1) & ~((a)-1))) + #define RightOf 1 #define LeftOf 2 #define Down 4 |