r300: use RC registers directly in nir_to_rc

Remove the temporary ntr_src/ntr_dst representation by translating NIR
sources and destinations straight to backend rc_src_register and
rc_dst_register values.

Keep the NIR translator instruction state in backend rc_sub_instruction
form as well, so this path no longer has to stage ureg-shaped registers
before emitting backend instructions.

The only slightly ugly part is saturate, since in the backend its not a
dst parameter, but it rather belongs to the instruction.

Assisted-by: Codex (GPT-5.5)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41577>
This commit is contained in:
Pavel Ondračka 2026-05-07 19:38:35 +02:00 committed by Marge Bot
parent 2b417a0183
commit bc89b448c9

File diff suppressed because it is too large Load diff