projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bd061b
)
llvmpipe: Only get no rast option once
author
Jakob Bornecrantz
<jakob@vmware.com>
Fri, 6 Aug 2010 00:12:54 +0000
(17:12 -0700)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Fri, 6 Aug 2010 00:25:13 +0000
(17:25 -0700)
src/gallium/drivers/llvmpipe/lp_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_context.c
b/src/gallium/drivers/llvmpipe/lp_context.c
index 3db4f12ebb61821586ff89b0758e529470dc3f25..28793682edfba6693f9c80404fcd1ad54e593765 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_context.c
+++ b/
src/gallium/drivers/llvmpipe/lp_context.c
@@
-46,6
+46,10
@@
#include "lp_query.h"
#include "lp_setup.h"
+
+DEBUG_GET_ONCE_BOOL_OPTION(lp_no_rast, "LP_NO_RAST", FALSE);
+
+
static void llvmpipe_destroy( struct pipe_context *pipe )
{
struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe );
@@
-130,7
+134,7
@@
llvmpipe_create_context( struct pipe_screen *screen, void *priv )
/* FIXME: devise alternative to draw_texture_samplers */
- if (debug_get_
bool_option( "LP_NO_RAST", FALSE
))
+ if (debug_get_
option_lp_no_rast(
))
llvmpipe->no_rast = TRUE;
llvmpipe->setup = lp_setup_create( &llvmpipe->pipe,