From 0bc6ec238bad7908b362355f668ea513e14a75b5 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 30 Nov 2012 17:32:29 +0000 Subject: llvmpipe: Recompute the fs shader key when framebuffer varies. The fs shader now depends on the color buffer formats. The shader key was extended to accommodate this, but llvmpipe_update_derived needs to be updated to check the framebuffer dirty flag. This fixes bug 57674. Reviewed-by: Roland Scheidegger Reviewed-by: Dave Airlie --- src/gallium/drivers/llvmpipe/lp_state_derived.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium') diff --git a/src/gallium/drivers/llvmpipe/lp_state_derived.c b/src/gallium/drivers/llvmpipe/lp_state_derived.c index 056e163f074..5bb5a7a0b7e 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_derived.c +++ b/src/gallium/drivers/llvmpipe/lp_state_derived.c @@ -145,6 +145,7 @@ void llvmpipe_update_derived( struct llvmpipe_context *llvmpipe ) compute_vertex_info( llvmpipe ); if (llvmpipe->dirty & (LP_NEW_FS | + LP_NEW_FRAMEBUFFER | LP_NEW_BLEND | LP_NEW_SCISSOR | LP_NEW_DEPTH_STENCIL_ALPHA | -- cgit v1.2.3