broadcom/compiler: phys index depends on hw version
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 23 Aug 2021 00:18:43 +0000 (02:18 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 13 Oct 2023 22:37:41 +0000 (22:37 +0000)
commit1260b202becce6164675eed0f86e873243083d0e
tree4e7a44f4301bd04c2d37f4b03c16b0f72ec26e88
parent63d633ca7af4000e5001aca639831c0302a13e4d
broadcom/compiler: phys index depends on hw version

For 7.1 there are not accumulators. So we replace the macro with a
function call.

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