Target corresponds to a buffer, buffer only records one offset, not
multiple.
cso->base.buffer_size = buffer_size;
cso->base.context = ctx;
- upload_state(ctx->stream_uploader, &cso->offset, 4 * sizeof(uint32_t), 4);
+ upload_state(ctx->stream_uploader, &cso->offset, sizeof(uint32_t), 4);
return &cso->base;
}
sob.StreamOffset = offsets[i];
sob.StreamOutputBufferOffsetAddress =
rw_bo(NULL, iris_resource_bo(tgt->offset.res)->gtt_offset +
- tgt->offset.offset + i * sizeof(uint32_t));
+ tgt->offset.offset);
}
}