nvc0: invalidate all buffers when switching pipe contexts

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
Samuel Pitoiset
2016-02-17 21:14:24 +01:00
parent 49c67926c7
commit cfd1dd0500

View File

@@ -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. */