diff options
author | Ilia Mirkin <[email protected]> | 2016-05-29 22:15:07 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-05-30 10:07:01 -0400 |
commit | 9444d71611b97a1f3102ba60b94ce1860a9961e9 (patch) | |
tree | b5d7ffa38a0117176ae3ebd29517c9148c64c2af /src/gallium/drivers/nouveau/nvc0/nvc0_context.h | |
parent | bac39dddcf28d9d2df2f60c8dbb384c54366ed73 (diff) |
nvc0: fix some compute texture validation bits on kepler
(a) Make sure to update the TIC in case of an updated buffer address
(b) Mark newly-inactive textures dirty so that we update the handle in
set_tex_handles.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_context.h')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_context.h b/src/gallium/drivers/nouveau/nvc0/nvc0_context.h index c0997583235..5e4ed3dbcb9 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_context.h +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_context.h @@ -333,6 +333,8 @@ void nve4_set_tex_handles(struct nvc0_context *); void nvc0_validate_surfaces(struct nvc0_context *); void nve4_set_surface_info(struct nouveau_pushbuf *, struct pipe_image_view *, struct nvc0_context *); +void nvc0_update_tic(struct nvc0_context *, struct nv50_tic_entry *, + struct nv04_resource *); struct pipe_sampler_view * nvc0_create_texture_view(struct pipe_context *, |