panfrost: Disable AFBC of 3D, 2D arrays
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 11 Jan 2021 21:00:41 +0000 (16:00 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 11 Jan 2021 22:28:58 +0000 (22:28 +0000)
commitabca80cf30879526d79230606f75371af0bcd211
tree99a04296291f212bc7779a4c3786388a45f1c633
parent0b590c2e8ca9fc7064928722be5de969f52bf6fd
panfrost: Disable AFBC of 3D, 2D arrays

These are broken at least on v7 and likely elsewhere. Until this can be
investigated, let's disable it so we don't break dEQP-GLES3.

Example of a failing test without this patch:

dEQP-GLES3.functional.texture.filtering.2d_array.sizes.128x32x64_nearest

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Maciej Matuszczyk <maccraft123mc@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8427>
src/gallium/drivers/panfrost/pan_resource.c