pan/bi: Add VAR_TEX fusing unit test
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 27 May 2022 18:13:40 +0000 (14:13 -0400)
committerAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 30 May 2022 21:48:59 +0000 (17:48 -0400)
commite898e2466b545eee3ad6607a76fe6edc43b80dd7
treec76e5a4d05b95642c4a26b9f63c7dce38eb22c0f
parent1727310ea15357841a32254ccd49f598a5ea080a
pan/bi: Add VAR_TEX fusing unit test

As fusing VAR_TEX is an optimization, it's helpful to have unit tests since
functional tests won't check that the optimization triggers when expected.
Originally written when I was touching the VAR_TEX code. Those changes have
since been dropped by the unit test remains useful.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16752>
src/panfrost/bifrost/test/test-optimizer.cpp