From 8dffc9b19541452aa7e3abb6e27f1dae24911bd6 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 23 Jan 2018 01:10:05 -0800 Subject: [PATCH] iris: index buffer BO --- src/gallium/drivers/iris/iris_state.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index c33d7e9c961..930f3bab828 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1579,8 +1579,7 @@ iris_upload_render_state(struct iris_context *ice, ib.IndexFormat = draw->index_size; ib.MOCS = MOCS_WB; ib.BufferSize = res->bo->size; - // XXX: gah, addresses :( need two different combine address funcs - // ib.BufferStartingAddress = res->bo; + ib.BufferStartingAddress = ro_bo(res->bo, 0); } } -- 2.30.2