summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nvc0
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-02-17 21:14:24 +0100
committerSamuel Pitoiset <[email protected]>2016-02-17 21:14:24 +0100
commitcfd1dd050073abbf7244f9986bfc6520f638cd0d (patch)
tree2c5b77da8ffb318fa775132251ef87aab54cb788 /src/gallium/drivers/nouveau/nvc0
parent49c67926c7a74440ef91674fa0a4595bfa179dd5 (diff)
nvc0: invalidate all buffers when switching pipe contexts
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
index 31ef34c0a39..7e181a9ed7f 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
@@ -636,6 +636,7 @@ nvc0_switch_pipe_context(struct nvc0_context *ctx_to)
ctx_to->samplers_dirty[s] = ~0;
ctx_to->textures_dirty[s] = ~0;
ctx_to->constbuf_dirty[s] = (1 << NVC0_MAX_PIPE_CONSTBUFS) - 1;
+ ctx_to->buffers_dirty[s] = ~0;
}
/* Reset tfb as the shader that owns it may have been deleted. */