diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c index 5508256e5af..38405187772 100644 --- a/src/gallium/drivers/iris/iris_batch.c +++ b/src/gallium/drivers/iris/iris_batch.c @@ -238,6 +238,8 @@ iris_init_batch(struct iris_batch *batch, gen_batch_decode_ctx_init(&batch->decoder, &screen->devinfo, stderr, decode_flags, NULL, decode_get_bo, decode_get_state_size, batch); + batch->decoder.dynamic_base = IRIS_MEMZONE_DYNAMIC_START; + batch->decoder.instruction_base = IRIS_MEMZONE_SHADER_START; batch->decoder.max_vbo_decoded_lines = 32; } @@ -374,6 +376,7 @@ iris_batch_reset(struct iris_batch *batch) iris_bo_unreference(batch->bo); batch->primary_batch_size = 0; batch->contains_draw = false; + batch->decoder.surface_base = batch->last_surface_base_address; create_batch(batch); assert(batch->bo->index == 0);