ir3/ra: Sanitize parallel copy flags better
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 10 Jan 2022 17:16:05 +0000 (18:16 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 10 Mar 2022 17:15:29 +0000 (17:15 +0000)
commitab0ed4ff3f2eed6610597a0f0b42b8ca829790f9
treef46cb0537da8d0ff0842a628f29a74bee0855a88
parent0135660dfc022996d20aa89faaaa7439fabf04a3
ir3/ra: Sanitize parallel copy flags better

For pcopies we only care about the register's type, i.e. whether its a
half-register and whether it's an array (plus its size). Copying over
other flags like IR3_REG_RELATIV just leads to sadness and validator
assertions.

Fixes: 0ffcb19b9d9 ("ir3: Rewrite register allocation")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14107>
src/freedreno/ir3/ir3_ra.c