ir3/ra: Fix ra_foreach_dst_n
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 2 Dec 2021 18:41:12 +0000 (19:41 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 10 Mar 2022 17:15:29 +0000 (17:15 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14107>

src/freedreno/ir3/ir3_ra.h

index 259341e..c6837aa 100644 (file)
@@ -124,7 +124,7 @@ ra_reg_is_dst(const struct ir3_register *reg)
          if (ra_reg_is_src((__srcreg = (__instr)->srcs[__i])))
 
 #define ra_foreach_dst_n(__dstreg, __n, __instr)                               \
-   foreach_dst_n(__dstreg, __n, instr)                                         \
+   foreach_dst_n(__dstreg, __n, __instr)                                         \
       if (ra_reg_is_dst(__dstreg))
 
 #define ra_foreach_dst(__dstreg, __instr)                                      \