From: Pierre Moreau Date: Sun, 13 Mar 2016 21:11:42 +0000 (+0100) Subject: nv50: Mark compute states as dirty on context switch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1282146d4e41eb3b73678a71389706f16c245979;p=mesa.git nv50: Mark compute states as dirty on context switch Signed-off-by: Pierre Moreau [ Samuel Pitoiset: Trivial rebase conflict ] Reviewed-by: Samuel Pitoiset --- diff --git a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c index e7631bb1fcf..51204930031 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c @@ -437,6 +437,7 @@ nv50_switch_pipe_context(struct nv50_context *ctx_to) ctx_to->state = ctx_to->screen->save_state; ctx_to->dirty_3d = ~0; + ctx_to->dirty_cp = ~0; ctx_to->viewports_dirty = ~0; ctx_to->scissors_dirty = ~0;