zink: simplify conditional for surface rebind no-ops
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 25 Oct 2022 17:36:50 +0000 (13:36 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Oct 2022 14:43:50 +0000 (14:43 +0000)
commit113e477865041eb4a0bfdc5f7872bd3ffa1157d3
treed65cf4e52370a3bb32b60f16e87d1a42efd12fdc
parent52efe113f9dcd705afa2d476ebbf27adfc10414d
zink: simplify conditional for surface rebind no-ops

the question isn't whether the storage imageview has been created,
it's whether the surface is current for the memory binding

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19307>
src/gallium/drivers/zink/zink_surface.c