freedreno: Move UBWC layout into a slices array like the non-UBWC slices.
authorEric Anholt <eric@anholt.net>
Mon, 25 Nov 2019 19:23:03 +0000 (11:23 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 11 Dec 2019 04:24:18 +0000 (04:24 +0000)
commitea7631a9a6a57e81600e8dc38fc2322f65e6ae98
treebc6f24662e0b162809fdfa26875b8a3d8e43635d
parentbbe84c6c315db706406a40ac9dd7c198619e9794
freedreno: Move UBWC layout into a slices array like the non-UBWC slices.

This is a little refactor in preparation for UBWC mipmapping support.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/fdl/freedreno_layout.h
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
src/gallium/drivers/freedreno/a6xx/fd6_image.c
src/gallium/drivers/freedreno/a6xx/fd6_resource.c
src/gallium/drivers/freedreno/a6xx/fd6_texture.c
src/gallium/drivers/freedreno/freedreno_resource.c