From b0ddddce4160b4927589375312074496e2eb9e75 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 5 Nov 2010 08:00:13 -0600 Subject: llvmpipe: mark all state dirty after gc --- src/gallium/drivers/llvmpipe/lp_context.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index 2036a717a0..2de20d6e9a 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -83,6 +83,9 @@ garbage_collect_callback(void *cb_data) /* This type will be recreated upon demand */ lp->jit_context_ptr_type = NULL; + + /* mark all state as dirty to ensure new shaders are jit'd, etc. */ + lp->dirty = ~0; } -- cgit v1.2.3