diff options
author | Samuel Pitoiset <[email protected]> | 2016-10-25 13:24:16 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-10-25 20:22:05 +0200 |
commit | 7b2712c367891e96384226a1fa94679a814235d0 (patch) | |
tree | 4d71338c0baa3e2d12c1b5cc0f7058a3104f5d30 /src | |
parent | 750d8cad72a532d977df10ffbbdd1902bd06f50b (diff) |
nvc0: use correct bufctx when invalidating CP textures
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Cc: "12.0 13.0" <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_tex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c index cbc270d9f19..e57391e9a32 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; } |