[Mesa-dev] [PATCH] nv50: Mark compute states as dirty on context switch
Pierre Moreau
pierre.morrow at free.fr
Sun Mar 13 21:11:42 UTC 2016
Signed-off-by: Pierre Moreau <pierre.morrow at free.fr>
---
src/gallium/drivers/nouveau/nv50/nv50_state_validate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c
index 5536978..d06ba4a 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 = ~0;
+ ctx_to->dirty_cp = ~0;
ctx_to->viewports_dirty = ~0;
ctx_to->scissors_dirty = ~0;
--
2.7.3
More information about the mesa-dev
mailing list