mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
pan/blit: Generalize texture alignment
For Valhall compat. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>
This commit is contained in:
parent
b7e8084af5
commit
dbe95af5dd
1 changed files with 1 additions and 2 deletions
|
|
@ -860,8 +860,7 @@ pan_blitter_emit_textures(struct pan_pool *pool,
|
||||||
size_t payload_size =
|
size_t payload_size =
|
||||||
GENX(panfrost_estimate_texture_payload_size)(views[i]);
|
GENX(panfrost_estimate_texture_payload_size)(views[i]);
|
||||||
struct panfrost_ptr surfaces =
|
struct panfrost_ptr surfaces =
|
||||||
pan_pool_alloc_aligned(pool, payload_size,
|
pan_pool_alloc_aligned(pool, payload_size, 64);
|
||||||
pan_alignment(SURFACE_WITH_STRIDE));
|
|
||||||
|
|
||||||
GENX(panfrost_new_texture)(pool->dev, views[i], texture, &surfaces);
|
GENX(panfrost_new_texture)(pool->dev, views[i], texture, &surfaces);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue