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