mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 01:18:06 +02:00
freedreno/a7xx: Fix base_align for non-UBWC depth-stencil
A7XX appears to require alignment of 4096 for DS in both UBWC and non-UBWC cases. Fixes rendering with TU_DEBUG=noubwc Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27848>
This commit is contained in:
parent
25a0eadcae
commit
be46639974
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ fdl6_tile_alignment(struct fdl_layout *layout, uint32_t *heightalign)
|
|||
* looser alignment requirements, however the validity of alignment is
|
||||
* heavily undertested and the "officially" supported alignment is 4096b.
|
||||
*/
|
||||
if (layout->ubwc)
|
||||
if (layout->ubwc || util_format_is_depth_or_stencil(layout->format))
|
||||
layout->base_align = 4096;
|
||||
else if (layout->cpp == 1)
|
||||
layout->base_align = 64;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue