diff options
author | Brian Paul <[email protected]> | 2012-06-22 13:06:40 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-06-25 08:14:33 -0600 |
commit | 45df3eb1db7147aca31134723972e1de4f6a7a16 (patch) | |
tree | 9fcb364d4c707c0a2e3dbe633f0d35f4bdb57b42 /src/gallium/drivers/llvmpipe/lp_context.c | |
parent | 37d699a296ac1d63b9276224847df4b645b53fe2 (diff) |
llvmpipe: fix the LP_NO_RAST debug option
It was only no-oping the clear() function, not actual triangle
rasterization. Move the no_rast field from lp_context down into
lp_rasterizer so it's accessible where it's needed.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_context.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index 8c0206b9d9c..7f92a5fe5a7 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -47,9 +47,6 @@ #include "lp_setup.h" -DEBUG_GET_ONCE_BOOL_OPTION(lp_no_rast, "LP_NO_RAST", FALSE) - - /** shared by all contexts */ unsigned llvmpipe_variant_count; @@ -207,9 +204,6 @@ llvmpipe_create_context( struct pipe_screen *screen, void *priv ) /* FIXME: devise alternative to draw_texture_samplers */ - if (debug_get_option_lp_no_rast()) - llvmpipe->no_rast = TRUE; - llvmpipe->setup = lp_setup_create( &llvmpipe->pipe, llvmpipe->draw ); if (!llvmpipe->setup) |