diff options
author | Kenneth Graunke <[email protected]> | 2020-05-01 10:17:15 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-01 19:00:02 +0000 |
commit | c94379c770e86f66f17d5747e1925bd65bed65c0 (patch) | |
tree | f6120a0bedbe6e1114bf475f55dfe7049a790ae8 /src/gallium/drivers/iris/iris_context.c | |
parent | 4a1ed75b85b91f6eb1a796bf7dceb195bcfc1bcf (diff) |
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>
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/iris/iris_context.c b/src/gallium/drivers/iris/iris_context.c index 862105b8426..4d161ac3f41 100644 --- a/src/gallium/drivers/iris/iris_context.c +++ b/src/gallium/drivers/iris/iris_context.c @@ -304,9 +304,7 @@ iris_create_context(struct pipe_screen *pscreen, void *priv, unsigned flags) ice->state.sizes = _mesa_hash_table_u64_create(ice); for (int i = 0; i < IRIS_BATCH_COUNT; i++) { - iris_init_batch(&ice->batches[i], screen, &ice->dbg, - &ice->reset, ice->state.sizes, - ice->batches, (enum iris_batch_name) i, priority); + iris_init_batch(ice, (enum iris_batch_name) i, priority); } screen->vtbl.init_render_context(&ice->batches[IRIS_BATCH_RENDER]); |