From: Samuel Pitoiset Date: Wed, 17 Feb 2016 20:14:24 +0000 (+0100) Subject: nvc0: invalidate all buffers when switching pipe contexts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfd1dd050073abbf7244f9986bfc6520f638cd0d;p=mesa.git nvc0: invalidate all buffers when switching pipe contexts Signed-off-by: Samuel Pitoiset Reviewed-by: Ilia Mirkin --- 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. */