freedreno/a6xx: Fix UBWC blockheight for RG8.
authorEric Anholt <eric@anholt.net>
Wed, 6 May 2020 22:38:46 +0000 (15:38 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 May 2020 19:18:16 +0000 (19:18 +0000)
commitb5db2a257413e2c570b49b8c2171166592f3e093
treed93eea27117ea2e916eb406da801db4829888d8b
parent9da4ce99538179108dc7694affc68a0e081404db
freedreno/a6xx: Fix UBWC blockheight for RG8.

Using texturator on a P3A at 1024x1024, RG8 has log2w/h of 6x7 instead of
R16I/UI's 6x8.  The other blockw/h I verified other than cpp=1
(R8/R8I/R8UI didn't use UBWC) and 32 (would need a bigger type).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4931>
src/freedreno/fdl/fd6_layout.c