summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-05-27 23:23:37 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-05-27 23:28:27 +0100
commitb7b9ce0f8677993c3cd5376add72a684a5653341 (patch)
treeeef4d43d00fb0e98dd1cfd36b51fc877f971c17c /src/gallium/drivers/softpipe
parente38bb10824fc3dc194d7cc6987f3f4957784310e (diff)
softpipe: enable vbuf by default
The non-vbuf option is going away...
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c
index a48e546139..ed9322a109 100644
--- a/src/gallium/drivers/softpipe/sp_context.c
+++ b/src/gallium/drivers/softpipe/sp_context.c
@@ -227,11 +227,13 @@ softpipe_create( struct pipe_screen *screen,
if (GETENV( "SP_NO_RAST" ) != NULL)
softpipe->no_rast = TRUE;
- if (GETENV( "SP_VBUF" ) != NULL) {
- sp_init_vbuf(softpipe);
+ if (GETENV( "SP_NO_VBUF" ) != NULL) {
+ /* Deprecated path -- vbuf is the intended interface to the draw module:
+ */
+ draw_set_rasterize_stage(softpipe->draw, softpipe->setup);
}
else {
- draw_set_rasterize_stage(softpipe->draw, softpipe->setup);
+ sp_init_vbuf(softpipe);
}
/* plug in AA line/point stages */