aux/tc: add tc_buffer_write to replace pipe_buffer_write usage
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 26 Jan 2022 19:53:44 +0000 (14:53 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 28 Jan 2022 14:58:20 +0000 (14:58 +0000)
commit143c1564093237a6ab509f064eb652a24c3e55d1
tree12ba82afbcbe472cdbd1b4a20b350b574b878603
parentbe5311972f72f72ca2de3f8d0ad28b4c58d133b6
aux/tc: add tc_buffer_write to replace pipe_buffer_write usage

tc_buffer_write is the tc-safe version of this function which will
avoid accidental invalidations that break behavior

Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14770>
src/gallium/auxiliary/util/u_threaded_context.h