iris: Give up on not passing ice to iris_init_batch
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 1 May 2020 17:17:15 +0000 (10:17 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 May 2020 19:00:02 +0000 (19:00 +0000)
commitc94379c770e86f66f17d5747e1925bd65bed65c0
treef6120a0bedbe6e1114bf475f55dfe7049a790ae8
parent4a1ed75b85b91f6eb1a796bf7dceb195bcfc1bcf
iris: Give up on not passing ice to iris_init_batch

We're going to need it to create a uploader in the batch soon.  We still
avoid storing it, to maintain the charade of separation, and make people
think twice about fetching random fields from there and intertwining
things even worse.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3802>
src/gallium/drivers/iris/iris_batch.c
src/gallium/drivers/iris/iris_batch.h
src/gallium/drivers/iris/iris_context.c