mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01: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 =
|
||||
GENX(panfrost_estimate_texture_payload_size)(views[i]);
|
||||
struct panfrost_ptr surfaces =
|
||||
pan_pool_alloc_aligned(pool, payload_size,
|
||||
pan_alignment(SURFACE_WITH_STRIDE));
|
||||
pan_pool_alloc_aligned(pool, payload_size, 64);
|
||||
|
||||
GENX(panfrost_new_texture)(pool->dev, views[i], texture, &surfaces);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue