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:
Bas Nieuwenhuizen 2017-03-06 23:23:57 +01:00 committed by Emil Velikov
parent 8fc606b0f4
commit f0c61906a2

View file

@ -659,6 +659,9 @@ radv_image_alloc_htile(struct radv_device *device,
if (env_var_as_boolean("RADV_HIZ_DISABLE", false))
return;
if (image->array_size > 1 || image->levels > 1)
return;
image->htile.size = radv_image_get_htile_size(device, image);
if (!image->htile.size)