freedreno/a6xx: FETCHSIZE is PITCHALIGN
authorJonathan Marek <jonathan@marek.ca>
Tue, 12 May 2020 16:34:37 +0000 (12:34 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Jun 2020 02:26:43 +0000 (02:26 +0000)
commit3a9ab3b6e96ee37a89a99dc6a825022cdd4b7c35
tree2a56bcb33e821b5dc389e5e8c89ef46ce1fe0d59
parent6269405a2bafadd8aec495da8352fb888d7e6c6f
freedreno/a6xx: FETCHSIZE is PITCHALIGN

"FETCHSIZE" is actually a "minimum pitch" or "pitchalign" value that's
relevant for mipmaps. The 0 value means 64-bytes. Understanding this allows
some simplifications and will make it possible to use less alignment on
linear formats.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5013>
12 files changed:
src/freedreno/fdl/fd6_layout.c
src/freedreno/fdl/freedreno_layout.h
src/freedreno/registers/a6xx.xml
src/freedreno/vulkan/tu_clear_blit.c
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_image.c
src/freedreno/vulkan/tu_private.h
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_format.c
src/gallium/drivers/freedreno/a6xx/fd6_format.h
src/gallium/drivers/freedreno/a6xx/fd6_image.c
src/gallium/drivers/freedreno/a6xx/fd6_texture.c