Mesa (main): ir3: Make ir3_register::name 32-bits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 31 20:53:19 UTC 2021


Module: Mesa
Branch: main
Commit: 62a7acee93bd939645205de5a8646e4c0ea1881f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62a7acee93bd939645205de5a8646e4c0ea1881f

Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Fri Aug 20 16:33:03 2021 +0200

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>

---

 src/freedreno/ir3/ir3.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/freedreno/ir3/ir3.h b/src/freedreno/ir3/ir3.h
index 9d8f09b3bb5..6c2d8c7553f 100644
--- a/src/freedreno/ir3/ir3.h
+++ b/src/freedreno/ir3/ir3.h
@@ -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;



More information about the mesa-commit mailing list