zink: remove extraneous flush in transfer_map_region_flush
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 8 Oct 2020 19:19:50 +0000 (15:19 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Sun, 14 Mar 2021 22:51:58 +0000 (18:51 -0400)
commit4e14c3dcb15c0f97ba050adfb9d272c0dd000613
tree90d43296424a16ef2b11a66712b61df129b1e62e
parentd40e372fe9774c3fb93c14a7f3e588daef88ce86
zink: remove extraneous flush in transfer_map_region_flush

this was only needed to cover up some other bugs:
* missing barriers for buffer sampler/image descriptors
* weirdness with first frame handling

there's better ways of handling both cases, and now they're handled better

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9566>
src/gallium/drivers/zink/zink_resource.c