diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c index 1d94cf86a41..d11fa2e54c8 100644 --- a/src/gallium/drivers/iris/iris_batch.c +++ b/src/gallium/drivers/iris/iris_batch.c @@ -520,6 +520,7 @@ add_aux_map_bos_to_batch(struct iris_batch *batch) .flags = bo->kflags, }; batch->aperture_space += bo->size; + bo->index = batch->exec_count; batch->exec_count++; } }