diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-03-02 15:02:29 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-03-02 15:03:09 +0000 |
commit | 0c616da24114a22e7a6ad6e333cf4e836a91e95f (patch) | |
tree | e3dabdb27e4899d99f67b4da1fcd3f08d6c878f9 /src/gallium | |
parent | 5fe2ce28b6e9fba181c13c6f49b57b3dd68fe88e (diff) |
llvmpipe: remove some ifdefs
No longer any need to protect expensive asserts with #ifdef DEBUG.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index dd77bb30d1..0f83eea685 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.c +++ b/src/gallium/drivers/llvmpipe/lp_rast.c @@ -342,7 +342,6 @@ void lp_rast_shade_quads( struct lp_rasterizer_task *task, unsigned ix, iy; int block_offset; -#ifdef DEBUG assert(state); /* Sanity checks */ @@ -351,7 +350,6 @@ void lp_rast_shade_quads( struct lp_rasterizer_task *task, assert((x % 4) == 0); assert((y % 4) == 0); -#endif ix = x % TILE_SIZE; iy = y % TILE_SIZE; @@ -367,15 +365,12 @@ void lp_rast_shade_quads( struct lp_rasterizer_task *task, depth = lp_rast_depth_pointer(rast, x, y); - -#ifdef DEBUG assert(lp_check_alignment(tile->color[0], 16)); assert(lp_check_alignment(state->jit_context.blend_color, 16)); assert(lp_check_alignment(inputs->step[0], 16)); assert(lp_check_alignment(inputs->step[1], 16)); assert(lp_check_alignment(inputs->step[2], 16)); -#endif /* run shader */ state->jit_function[1]( &state->jit_context, |