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>
This commit is contained in:
Bas Nieuwenhuizen 2017-03-06 23:23:57 +01:00
parent 6bae1e44a9
commit 0ab2dd361f
1 changed files with 3 additions and 0 deletions

View File

@ -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)