st/mesa: revalidate image atoms when a texture is updated
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 4 Jun 2016 17:25:35 +0000 (13:25 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 7 Jun 2016 14:18:34 +0000 (10:18 -0400)
commitc81b090c920f90bf86a34c978e10ff336d1edbc0
tree5f625c945e0097d40fa0e196a30db252c64aa149
parent71ad8a173f5c64d6384c13f04361455571c42ffe
st/mesa: revalidate image atoms when a texture is updated

A texture may be redefined with _NEW_TEXTURE, which might have been
bound to a shader image slot. We have to revalidate the image atoms to
pick up on the new resource.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/mesa/state_tracker/st_atom_image.c