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
8fc606b0f4
commit
f0c61906a2
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue