nvc0: fix some compute texture validation bits on kepler
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 30 May 2016 02:15:07 +0000 (22:15 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 30 May 2016 14:07:01 +0000 (10:07 -0400)
commit9444d71611b97a1f3102ba60b94ce1860a9961e9
treeb5d7ffa38a0117176ae3ebd29517c9148c64c2af
parentbac39dddcf28d9d2df2f60c8dbb384c54366ed73
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 <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nvc0/nvc0_context.h
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
src/gallium/drivers/nouveau/nvc0/nve4_compute.c