ra: Add a unit test.
authorEric Anholt <eric@anholt.net>
Thu, 4 Mar 2021 20:22:11 +0000 (12:22 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 4 Jun 2021 19:08:57 +0000 (19:08 +0000)
commit3072318ab8f68a781d7afb645ad1a98a07697279
treed44f97c1142a9e77652fbc2a83ecaecf4fe20773
parented6e586562f4443c56e385017a109e5a5ca5294e
ra: Add a unit test.

This is mostly checking that we agree with a bit of the table from the
paper.  It proved quite useful as I was refactoring.

Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9437>
src/util/meson.build
src/util/register_allocate.c
src/util/register_allocate_internal.h [new file with mode: 0644]
src/util/register_allocate_test.cpp [new file with mode: 0644]