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_clear.c | |
parent | 09b668615852eb28cb6289baf84faaf3b6ccc3c2 (diff) |
softpipe: implement SP_NO_RAST env var
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_clear.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_clear.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_clear.c b/src/gallium/drivers/softpipe/sp_clear.c index 39aed151c73..12367068917 100644 --- a/src/gallium/drivers/softpipe/sp_clear.c +++ b/src/gallium/drivers/softpipe/sp_clear.c @@ -49,6 +49,9 @@ softpipe_clear(struct pipe_context *pipe, struct pipe_surface *ps, struct softpipe_context *softpipe = softpipe_context(pipe); uint i; + if (softpipe->no_rast) + return; + #if 0 softpipe_update_derived(softpipe); /* not needed?? */ #endif |