mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
ac/surface: don't require exact pitch for gfx6-8 tiled imports
It was reported that it broke Stoney. Something probably uses a suboptimal
pitch, like minigbm.
Fixes: 7d066330e0 - ac/surface: relax custom pitch requirements to any multiple of 256B on gfx10.3+
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25540>
This commit is contained in:
parent
340218c51e
commit
9f569acf20
1 changed files with 1 additions and 1 deletions
|
|
@ -2997,7 +2997,7 @@ bool ac_surface_override_offset_stride(const struct radeon_info *info, struct ra
|
|||
bool require_equal_pitch = surf->surf_size != surf->total_size ||
|
||||
num_layers != 1 ||
|
||||
num_mipmap_levels != 1 ||
|
||||
!surf->is_linear ||
|
||||
(info->gfx_level >= GFX9 && !surf->is_linear) ||
|
||||
info->gfx_level == GFX10;
|
||||
|
||||
if (info->gfx_level >= GFX9) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue