panfrost: Add 1x1 layout unit tests
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 4 May 2022 15:22:43 +0000 (11:22 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 26 May 2022 15:56:32 +0000 (15:56 +0000)
commit166d879ff092022218ced089ff7568d7e2f54def
tree50d77f91d44f451148ebeea69e80a28855f17b37
parent65ba39f84cc721c20ac1c7351fd8222d9f718059
panfrost: Add 1x1 layout unit tests

These check the alignments are correct. Of course, ideally these cases aren't
hit in practice, since it's a waste of memory.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16697>
src/panfrost/lib/tests/test-layout.cpp