zink: fix zink_resource_access_is_write()
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Sun, 26 Feb 2023 15:47:02 +0000 (10:47 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 6 Mar 2023 14:22:01 +0000 (14:22 +0000)
commit5be506c16ece8c62b84e21a625db9d36bc489982
tree427da9f8282eb91e981d5f3c97865173d9c827b3
parent772d92bfa62bac231acdb214c1ca38cea9112aba
zink: fix zink_resource_access_is_write()

this was accurately returning whether the access had only write flags,
but it was incorrectly returning false for READ|WRITE

cc: mesa-stable

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