zink: force streamout rebind when mapping a streamout buffer for writing
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 19 May 2021 16:39:48 +0000 (12:39 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 26 May 2021 01:51:17 +0000 (21:51 -0400)
commit517484ea899d6a13be9a85f608434e1b487c3184
treedf6a30348c716e155858fcfb5d701fc7af1955e9
parenta29688a0d119dc7e270e79b0d307eaa5e487df2c
zink: force streamout rebind when mapping a streamout buffer for writing

if the contents of the buffer change between uses, trigger the rebind path
next time a draw happens for synchronization

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