mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
radv: Disable HTILE for textures with multiple layers/levels.
It has issues and the fix I'm working on is too complicated for stable,
so disable for now.
Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
CC: 13.0 17.0 <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 0ab2dd361f)
This commit is contained in:
parent
f21cc864ba
commit
a342a47a24
1 changed files with 3 additions and 0 deletions
|
|
@ -655,6 +655,9 @@ radv_image_alloc_htile(struct radv_device *device,
|
|||
if (device->debug_flags & RADV_DEBUG_NO_HIZ)
|
||||
return;
|
||||
|
||||
if (image->array_size > 1 || image->levels > 1)
|
||||
return;
|
||||
|
||||
image->htile.size = radv_image_get_htile_size(device, image);
|
||||
|
||||
if (!image->htile.size)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue