broadcom/compiler: clarify use of QFILE_VPM
authorAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 12 May 2023 12:04:56 +0000 (14:04 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 14 Jun 2023 09:03:35 +0000 (09:03 +0000)
commitdfdbf5bf947578284444734f4868b650d3441507
tree15c6fa48620b455d62dcb9576484963f2aae6353
parent0cd9f0c3d36066c5188aade37f728067b863990b
broadcom/compiler: clarify use of QFILE_VPM

This was only used for version < 40 (See commit 22a02f3e3).

Adding some extra explanations and asserts of places where it is used.

As we are here also move the definition of a register with QFILE_VPM,
to avoid defining it if not needed.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22984>
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_compiler.h
src/broadcom/compiler/vir_to_qpu.c