aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv50
diff options
context:
space:
mode:
authorPierre Moreau <[email protected]>2016-03-13 22:11:42 +0100
committerSamuel Pitoiset <[email protected]>2016-03-19 00:18:00 +0100
commit1282146d4e41eb3b73678a71389706f16c245979 (patch)
tree83a4e0565b600e3553f2fb5061e4fcf595f9e88a /src/gallium/drivers/nouveau/nv50
parenta734c0f8ba4a99e3ae42fe7ca9b1af16a01587b3 (diff)
nv50: Mark compute states as dirty on context switch
Signed-off-by: Pierre Moreau <[email protected]> [ Samuel Pitoiset: Trivial rebase conflict ] Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_state_validate.c1
1 files changed, 1 insertions, 0 deletions
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;