diff options
author | Keith Whitwell <[email protected]> | 2008-04-22 11:01:41 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-22 11:02:24 +0100 |
commit | a5b87f249ef79b1a8d8b9dbe72879b7ac9eb133c (patch) | |
tree | e214e30dc5bce60c6068ccf63e8536676b931d79 /src/gallium/drivers/softpipe/sp_context.c | |
parent | 09b668615852eb28cb6289baf84faaf3b6ccc3c2 (diff) |
softpipe: implement SP_NO_RAST env var
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c index 8c84ddbe196..200fb415acf 100644 --- a/src/gallium/drivers/softpipe/sp_context.c +++ b/src/gallium/drivers/softpipe/sp_context.c @@ -219,6 +219,9 @@ softpipe_create( struct pipe_screen *screen, assert(softpipe->draw); softpipe->setup = sp_draw_render_stage(softpipe); + if (GETENV( "SP_NO_RAST" ) != NULL) + softpipe->no_rast = TRUE; + if (GETENV( "SP_VBUF" ) != NULL) { sp_init_vbuf(softpipe); } |