freedreno/fdl: Add fdl6_view
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 13 Oct 2021 15:34:26 +0000 (17:34 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 18 Oct 2021 16:00:38 +0000 (16:00 +0000)
commit5509132a807a6cf14f6e240394b9e52ef0240bef
tree227ad1f3a5f05a55d7833863b5d3b31c53c3290b
parent464b9d6bf10a336ac76701c58828b85a4946940e
freedreno/fdl: Add fdl6_view

This is mostly based on tu_image_view. The notable difference is that we
don't handle choosing the correct plane out of multiple planes when
indicated by the aspect, which means that there is no equivalent of
VK_IMAGE_ASPECT_PLANE_1 etc. This is expected to be done in the driver,
and note that freedreno gallium handles this very differently anyway.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13359>
src/freedreno/fdl/fd6_view.c [new file with mode: 0644]
src/freedreno/fdl/freedreno_layout.h
src/freedreno/fdl/meson.build