zink: explicitly flag fb attachments as being written to in render passes
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 29 Jun 2020 18:28:27 +0000 (14:28 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 14 Oct 2020 13:20:37 +0000 (09:20 -0400)
commit270969b55ef19edd908ae77a86297907e6035dd2
treeba50b0059bfc77176e2c9ef9bad352663a83fd1f
parent8dfb941a4c5f7178f818758175c64bc9093b094f
zink: explicitly flag fb attachments as being written to in render passes

we need to ensure that we're accurately setting this hint in order to avoid
synchronization issues when determining whether we can read from the buffer

Reviewed-by: Erik Faye-Lun <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6924>
src/gallium/drivers/zink/zink_context.c