ir3: Make ir3_register::name 32-bits

It was overflowing with
dEQP-VK.spirv_assembly.instruction.compute.spirv_ids_abuse.lots_ids.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12487>
This commit is contained in:
Connor Abbott 2021-08-20 16:33:03 +02:00 committed by Marge Bot
parent 82c3dc220e
commit 62a7acee93
1 changed files with 2 additions and 1 deletions

View File

@ -150,6 +150,8 @@ struct ir3_register {
IR3_REG_UNUSED = 0x40000,
} flags;
unsigned name;
/* used for cat5 instructions, but also for internal/IR level
* tracking of what registers are read/written by an instruction.
* wrmask may be a bad name since it is used to represent both
@ -171,7 +173,6 @@ struct ir3_register {
* rN.x becomes: (N << 2) | x
*/
uint16_t num;
uint16_t name;
union {
/* immediate: */
int32_t iim_val;