iris: Only have one blorp_batch_init/finish in iris_copy_region()
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 1 Oct 2021 08:38:44 +0000 (01:38 -0700)
committerMarge Bot <emma+marge@anholt.net>
Mon, 24 Jan 2022 23:27:25 +0000 (23:27 +0000)
commitcc03726165d8240833221317d43146e0c65c6552
treea95225fd1585a6d436d8f0cafe553978a8faa584
parenta90a1f15a7c8943893e76a202f65bdac8c3e6b49
iris: Only have one blorp_batch_init/finish in iris_copy_region()

This is a little simpler, and gives us one place to change flags.

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14687>
src/gallium/drivers/iris/iris_blit.c