freedreno/cffdec: When .mergedregs is set, don't count half regs.
authorEric Anholt <eric@anholt.net>
Mon, 17 Aug 2020 17:58:06 +0000 (10:58 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 16:56:13 +0000 (16:56 +0000)
commitce335dcb19297d04f3fb6ce0d290ff99130d09f7
treef268ae6ee9c0c546f8fa9f6d1a2a3ed11f66c902
parent803ec06b1b3455cb320e69ae34673be12aef01ec
freedreno/cffdec: When .mergedregs is set, don't count half regs.

This matches what ir3.c does in the mergedregs case: just count max full
reg used.  This flag is unset so far, but will be soon and keeps our
output comparable between blob and freedreno.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6323>
src/freedreno/ir3/disasm-a3xx.c