Skip to content

iris: Fix buffer alignments and copy offsets

Faith Ekstrand requested to merge gfxstrand/mesa:iris/buffer-offset-align into main

When we added an alignment parameter to iris_bo_alloc(), we just set 1 a bunch of places even though that's clearly wrong. I don't know why we haven't noticed except maybe we just allocate big enough sizes that nothing's ever gotten aligned down particularly badly. In any case, we should pass reasonable alignment parameters. This also fixes one more instance of not handling iris_resource::offset.

Merge request reports