OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 14 Jun 2016 14:48:39 +0000 (15:48 +0100)
commit6f38259419724aa46561113f59196acf73fde34e
treea22743b07e67f737b4390881bb4636a658a6de46
parentbba2299735787d3c2f7b9933e9034b958b6d77d1
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>
(cherry picked from commit c81b090c920f90bf86a34c978e10ff336d1edbc0)
src/mesa/state_tracker/st_atom_image.c