mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
nvc0: use correct bufctx when invalidating CP textures
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "12.0 13.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 7b2712c367)
This commit is contained in:
parent
92a50b3d6e
commit
4083feb939
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ void nvc0_validate_textures(struct nvc0_context *nvc0)
|
|||
|
||||
/* Invalidate all CP textures because they are aliased. */
|
||||
for (int i = 0; i < nvc0->num_textures[5]; i++)
|
||||
nouveau_bufctx_reset(nvc0->bufctx_3d, NVC0_BIND_CP_TEX(i));
|
||||
nouveau_bufctx_reset(nvc0->bufctx_cp, NVC0_BIND_CP_TEX(i));
|
||||
nvc0->textures_dirty[5] = ~0;
|
||||
nvc0->dirty_cp |= NVC0_NEW_CP_TEXTURES;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue