r600: ignore dest sel for non-write targets when counting registers
authorGert Wollny <gert.wollny@collabora.com>
Sun, 6 Feb 2022 16:23:27 +0000 (17:23 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Apr 2022 12:10:19 +0000 (12:10 +0000)
commit3c4644afb0820db974aa0dfe6dc51da830aeff7b
tree42159d0d9fe03013ed1c80f80f597d3e2c5140d7
parent67d145d9abb9a42fc40c7c3030fa900047e1d210
r600: ignore dest sel for non-write targets when counting registers

Since the value is not written, there is no need to allocate
a register for it, so don't take it into account.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Acked-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15714>
src/gallium/drivers/r600/r600_asm.c