freedreno/layout: add explicit offset/pitch argument to fdl6_layout
authorJonathan Marek <jonathan@marek.ca>
Tue, 12 May 2020 23:38:48 +0000 (19:38 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 27 May 2020 04:02:58 +0000 (04:02 +0000)
commitda409fb7b8c997de28db4016c788abff14bd8c57
tree2e57fa8f4e9c96e5a7c2b45558b2f0888d60e701
parentf1acf492de91e04a81950c0446c36b22b48bc94c
freedreno/layout: add explicit offset/pitch argument to fdl6_layout

fdl6_layout will return false when the explicit pitch is not valid.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4596>
src/freedreno/fdl/fd6_layout.c
src/freedreno/fdl/fd_layout_test.c
src/freedreno/fdl/freedreno_layout.h
src/freedreno/vulkan/tu_clear_blit.c
src/freedreno/vulkan/tu_image.c
src/gallium/drivers/freedreno/a6xx/fd6_resource.c