Module: Mesa
Branch: master
Commit: 1282146d4e41eb3b73678a71389706f16c245979
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1282146d4e41eb3b73678a71389706f16c245979

Author: Pierre Moreau <pierre.mor...@free.fr>
Date:   Sun Mar 13 22:11:42 2016 +0100

nv50: Mark compute states as dirty on context switch

Signed-off-by: Pierre Moreau <pierre.mor...@free.fr>
[ Samuel Pitoiset: Trivial rebase conflict ]
Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>

---

 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 e7631bb..5120493 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;
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to