summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_state_derived.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-22 12:39:44 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:40 +0100
commit98971802798354cdba45c421cc340ec938143e03 (patch)
tree4cbddfefc0f582ac29ccd87411abcb3c61532cca /src/gallium/drivers/llvmpipe/lp_state_derived.c
parent64cc71167f986f6cd29abb228295cf6441b07832 (diff)
llvmpipe: Generate the fragment pipeline into a single function.
Still hackish. Will document and optimize later.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_derived.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_derived.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_derived.c b/src/gallium/drivers/llvmpipe/lp_state_derived.c
index 35b24a12ff..9f5d2ffb11 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_derived.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_derived.c
@@ -247,13 +247,12 @@ void llvmpipe_update_derived( struct llvmpipe_context *llvmpipe )
compute_cliprect(llvmpipe);
if (llvmpipe->dirty & (LP_NEW_FS |
+ LP_NEW_BLEND |
LP_NEW_DEPTH_STENCIL_ALPHA))
llvmpipe_update_fs( llvmpipe );
- if (llvmpipe->dirty & (LP_NEW_BLEND |
- LP_NEW_DEPTH_STENCIL_ALPHA |
- LP_NEW_FRAMEBUFFER |
+ if (llvmpipe->dirty & (LP_NEW_FRAMEBUFFER |
LP_NEW_FS))
lp_build_quad_pipeline(llvmpipe);