pan/bi: Model 3rd source for ATEST
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 21 Jul 2022 16:04:23 +0000 (12:04 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000 (16:03 +0000)
commit0bef566fba00aff39c871521bb9fa4e3cea63a52
treee44b484436c407dd382ad21f056060e825d4fb6d
parent42b815397c8d61443d2ce7e4507538af90d456b6
pan/bi: Model 3rd source for ATEST

ATEST on Valhall takes atest-param as an explicit encoded source. The source
also exists on Bifrost, but it's implied in the encoding. Rather than treating
it as a "ghost" source, model it in the IR explicitly so the count is correct.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/ISA.xml
src/panfrost/bifrost/bifrost_compile.c
src/panfrost/bifrost/valhall/test/test-insert-flow.cpp
src/panfrost/bifrost/valhall/test/test-merge-flow.cpp
src/panfrost/bifrost/valhall/test/test-packing.cpp