freedreno/a5xx: Set MIN_LAYERSZ on 3D textures like we do on a6xx.
authorEric Anholt <eric@anholt.net>
Tue, 19 May 2020 23:21:20 +0000 (16:21 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 22 May 2020 00:09:42 +0000 (17:09 -0700)
commit6a154aea0d3375aa8469f28bb8a85e5ee79eef4a
tree9d8e0d1ea0790e5497922a85c2f799b4449f0018
parent9f62566ef6f8e096b9bbff5bc51e74b9fe44f241
freedreno/a5xx: Set MIN_LAYERSZ on 3D textures like we do on a6xx.

These fields (TILE_ALL and MIN_LAYERSZ) seem to be the same on a5xx as
a6xx, having looked at some UBWC vs non-UBWC texturator cases.  Setting
MIN_LAYERSZ does fix the 3D fail we see in the CTS.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5127>
.gitlab-ci/deqp-freedreno-a530-fails.txt
src/freedreno/registers/a5xx.xml
src/gallium/drivers/freedreno/a5xx/fd5_texture.c