zink: break out buffer copying into util function with batch param
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 9 Sep 2020 19:14:55 +0000 (15:14 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Feb 2021 03:34:30 +0000 (03:34 +0000)
commitf3080eca75bca2567841188f1b7e9093e96f91b6
tree94c19cc7012e49fcc74d70dbe90e6cfcde3c66d5
parent46a04672af9c31a389ee3ff420d85f37c7faf8cd
zink: break out buffer copying into util function with batch param

if we want to explicitly specify compute batch, we need to be able
to pass that along

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