[Mesa-stable] [Mesa-dev] [PATCH] nvc0: use correct bufctx when invalidating CP textures
Ilia Mirkin
imirkin at alum.mit.edu
Tue Oct 25 16:09:02 UTC 2016
Good one.
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
On Tue, Oct 25, 2016 at 7:24 AM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> Cc: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
> ---
> src/gallium/drivers/nouveau/nvc0/nvc0_tex.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
> index cbc270d..e57391e 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
> @@ -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;
> }
> --
> 2.10.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-stable
mailing list