mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
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:
parent
49c67926c7
commit
cfd1dd0500
1 changed files with 1 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue