diff options
author | Jakob Bornecrantz <[email protected]> | 2010-12-29 12:50:59 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2011-01-25 01:00:07 +0100 |
commit | c523f31f4a35f8396ab35859c70fb041c210cedb (patch) | |
tree | dd31e35dffc9f52fd9783f8b574bc6b2af8bfa29 /src/gallium/drivers/svga/svga_context.c | |
parent | daaf542220e5008b54648c6ed853f3f4f87fc7b5 (diff) |
svga: Add more swrast debuging
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_context.c b/src/gallium/drivers/svga/svga_context.c index 5ba4ddf0a32..61f99d1eb18 100644 --- a/src/gallium/drivers/svga/svga_context.c +++ b/src/gallium/drivers/svga/svga_context.c @@ -47,6 +47,8 @@ DEBUG_GET_ONCE_BOOL_OPTION(no_swtnl, "SVGA_NO_SWTNL", FALSE) DEBUG_GET_ONCE_BOOL_OPTION(force_swtnl, "SVGA_FORCE_SWTNL", FALSE); DEBUG_GET_ONCE_BOOL_OPTION(use_min_mipmap, "SVGA_USE_MIN_MIPMAP", FALSE); DEBUG_GET_ONCE_NUM_OPTION(disable_shader, "SVGA_DISABLE_SHADER", ~0); +DEBUG_GET_ONCE_BOOL_OPTION(no_line_width, "SVGA_NO_LINE_WIDTH", FALSE); +DEBUG_GET_ONCE_BOOL_OPTION(force_hw_line_stipple, "SVGA_FORCE_HW_LINE_STIPPLE", FALSE); static void svga_destroy( struct pipe_context *pipe ) { @@ -121,6 +123,8 @@ struct pipe_context *svga_context_create( struct pipe_screen *screen, svga->debug.force_swtnl = debug_get_option_force_swtnl(); svga->debug.use_min_mipmap = debug_get_option_use_min_mipmap(); svga->debug.disable_shader = debug_get_option_disable_shader(); + svga->debug.no_line_width = debug_get_option_no_line_width(); + svga->debug.force_hw_line_stipple = debug_get_option_force_hw_line_stipple(); if (!svga_init_swtnl(svga)) goto no_swtnl; |