summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-11-05 08:00:13 -0600
committerBrian Paul <brianp@vmware.com>2010-11-05 08:00:13 -0600
commitb0ddddce4160b4927589375312074496e2eb9e75 (patch)
treef8a48b4f0cb6f16a2e16d825c8daf0bd2bf15f4a
parent05a54356513d6cb40e5da1e45cd6aca42e05490e (diff)
llvmpipe: mark all state dirty after gc
-rw-r--r--src/gallium/drivers/llvmpipe/lp_context.c3
1 files changed, 3 insertions, 0 deletions
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;
}