nv50: Mark compute states as dirty on context switch
authorPierre Moreau <pierre.morrow@free.fr>
Sun, 13 Mar 2016 21:11:42 +0000 (22:11 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 18 Mar 2016 23:18:00 +0000 (00:18 +0100)
Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
[ Samuel Pitoiset: Trivial rebase conflict ]
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nv50/nv50_state_validate.c

index e7631bb1fcffeb05328147e53e46d7240d762d30..512049300318924fb7595da02188c2671f0806d1 100644 (file)
@@ -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;