freedreno: Add the outline of a test for a6xx texture layout.
authorEric Anholt <eric@anholt.net>
Wed, 26 Feb 2020 19:27:04 +0000 (11:27 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Apr 2020 18:02:56 +0000 (18:02 +0000)
commit4b881d527020b4094ebae850a2dc680c28ccbf97
tree5ff5427c8ef7e8e261637175df72337901abf06d
parent9c6bfe8733f3c74f6ccf1238ab79eeb8203b72f7
freedreno: Add the outline of a test for a6xx texture layout.

Trying to work out texture layout by remembering what things looked like
in texturator is hard.  Instead, let's use texture layouts from tracing
the blob as a source of truth to make sure that we pick the same layouts
they do (and don't break known-good ones).  More testcases will be added
as I fix layout bugs.

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