diff options
author | José Fonseca <[email protected]> | 2009-07-27 11:36:24 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-29 09:21:16 +0100 |
commit | c9a5930fe45a0a0299769bd2b672ca516d1bf39e (patch) | |
tree | fc6ef11953101215179be32296dac374f43a7e4d /src/gallium/drivers/llvmpipe/lp_context.c | |
parent | 8783732c4d2b9162d996f678eb41e3eae3ac86c7 (diff) |
llvmpipe: Rename preprocessor symbols too.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_context.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index cad74d3da94..66a6e791931 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -91,7 +91,7 @@ static void llvmpipe_destroy( struct pipe_context *pipe ) if (llvmpipe->draw) draw_destroy( llvmpipe->draw ); - for (i = 0; i < SP_NUM_QUAD_THREADS; i++) { + for (i = 0; i < LP_NUM_QUAD_THREADS; i++) { llvmpipe->quad[i].polygon_stipple->destroy( llvmpipe->quad[i].polygon_stipple ); llvmpipe->quad[i].earlyz->destroy( llvmpipe->quad[i].earlyz ); llvmpipe->quad[i].shade->destroy( llvmpipe->quad[i].shade ); @@ -237,7 +237,7 @@ llvmpipe_create( struct pipe_screen *screen ) /* setup quad rendering stages */ - for (i = 0; i < SP_NUM_QUAD_THREADS; i++) { + for (i = 0; i < LP_NUM_QUAD_THREADS; i++) { llvmpipe->quad[i].polygon_stipple = lp_quad_polygon_stipple_stage(llvmpipe); llvmpipe->quad[i].earlyz = lp_quad_earlyz_stage(llvmpipe); llvmpipe->quad[i].shade = lp_quad_shade_stage(llvmpipe); @@ -285,10 +285,10 @@ llvmpipe_create( struct pipe_screen *screen ) if (!llvmpipe->setup) goto fail; - if (debug_get_bool_option( "SP_NO_RAST", FALSE )) + if (debug_get_bool_option( "LP_NO_RAST", FALSE )) llvmpipe->no_rast = TRUE; - if (debug_get_bool_option( "SP_NO_VBUF", FALSE )) { + if (debug_get_bool_option( "LP_NO_VBUF", FALSE )) { /* Deprecated path -- vbuf is the intended interface to the draw module: */ draw_set_rasterize_stage(llvmpipe->draw, llvmpipe->setup); |