summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_clear.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-06-22 13:06:40 -0600
committerBrian Paul <brianp@vmware.com>2012-06-25 08:14:33 -0600
commit45df3eb1db7147aca31134723972e1de4f6a7a16 (patch)
tree9fcb364d4c707c0a2e3dbe633f0d35f4bdb57b42 /src/gallium/drivers/llvmpipe/lp_clear.c
parent37d699a296ac1d63b9276224847df4b645b53fe2 (diff)
llvmpipe: fix the LP_NO_RAST debug option
It was only no-oping the clear() function, not actual triangle rasterization. Move the no_rast field from lp_context down into lp_rasterizer so it's accessible where it's needed. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_clear.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_clear.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_clear.c b/src/gallium/drivers/llvmpipe/lp_clear.c
index 0b37347a967..cc90dc42c65 100644
--- a/src/gallium/drivers/llvmpipe/lp_clear.c
+++ b/src/gallium/drivers/llvmpipe/lp_clear.c
@@ -53,9 +53,6 @@ llvmpipe_clear(struct pipe_context *pipe,
{
struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe);
- if (llvmpipe->no_rast)
- return;
-
if (!llvmpipe_check_render_cond(llvmpipe))
return;