freedreno/a5xx: Move resource layout to fdl.
authorEric Anholt <eric@anholt.net>
Tue, 19 May 2020 22:23:54 +0000 (15:23 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 22 May 2020 00:09:42 +0000 (17:09 -0700)
commita1a739995bae4f2ad2b075416e9a310957e1a146
tree20564894922a4ba9f541aa2e381592ef954f9a7e
parente85b6c4ab130670916ef83f32891f8c1023e4a4f
freedreno/a5xx: Move resource layout to fdl.

I'm working on fixing the 3D layouts in CI so we can stabilize it, but I
wanted unit tests using the texturator scripts to make sure I don't break
things.  This also makes a5xx and a6xx layout easily comparable again.

This is a straightforward move of the code with prsc references replaced
by arguments in the style of fdl6.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5127>
src/freedreno/fdl/fd5_layout.c [new file with mode: 0644]
src/freedreno/fdl/freedreno_layout.h
src/freedreno/fdl/meson.build
src/gallium/drivers/freedreno/a5xx/fd5_resource.c