From: Kenneth Graunke Date: Tue, 23 Jan 2018 09:10:05 +0000 (-0800) Subject: iris: index buffer BO X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8dffc9b19541452aa7e3abb6e27f1dae24911bd6;p=mesa.git iris: index buffer BO --- 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); } }