panfrost: Add panfrost_batch_write_bo
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>
Thu, 31 Aug 2023 15:47:48 +0000 (11:47 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 25 Oct 2023 14:25:31 +0000 (14:25 +0000)
commit542c44ffde46a8db95c611c5f44e8add11f6388a
treee1b83fbc29d712481902b91376743c96929e5dc3
parent113d88f94d20c5805092609ee25c5c3e49b17505
panfrost: Add panfrost_batch_write_bo

Needed when writing to a BO from a compute shader when the BO isn't
assigned to a resource yet.

Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25012>
src/gallium/drivers/panfrost/pan_job.c
src/gallium/drivers/panfrost/pan_job.h