iris: Support multiple chained batches.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 14 Jan 2020 00:14:24 +0000 (16:14 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 19:53:22 +0000 (19:53 +0000)
commitba148813d7c5f90f2a46819c33611e760edf86ed
treea2685982c69c7bed1e88a803d92a0a66b22e42a7
parent94f9c5fff672cf00843b2522aeee01effbb2afc8
iris: Support multiple chained batches.

There was never much point in artificially limiting chaining to two
batches - we can trivially support arbitrary length chains.

Currently, we should only ever have 1 or 2, but this may change.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3613>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3613>
src/gallium/drivers/iris/iris_batch.c
src/gallium/drivers/iris/iris_batch.h