broadcom/compiler: don't favor/select accum registers for hw not supporting it
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 16 Sep 2021 23:07:06 +0000 (01:07 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 13 Oct 2023 22:37:41 +0000 (22:37 +0000)
commitd00f7ef23e25933c7fb00a19d9d88cdbd4d9aaba
treef55a4f327c34f488440668b2e5e8b9c43b5980a6
parent1260b202becce6164675eed0f86e873243083d0e
broadcom/compiler: don't favor/select accum registers for hw not supporting it

Note that what we do is to just return false on the favor/select accum
methods. We could just avoid to call them, but as the select is called
more than once, it is just easier this way.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
src/broadcom/compiler/vir_register_allocate.c