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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user