From 98971802798354cdba45c421cc340ec938143e03 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 22 Aug 2009 12:39:44 +0100 Subject: llvmpipe: Generate the fragment pipeline into a single function. Still hackish. Will document and optimize later. --- src/gallium/drivers/llvmpipe/lp_state_derived.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gallium/drivers/llvmpipe/lp_state_derived.c') 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); -- cgit v1.2.3