r300: fix transformation of abs modifiers with negate
authorPavel Ondračka <pavel.ondracka@gmail.com>
Mon, 7 Feb 2022 15:49:38 +0000 (16:49 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 8 Feb 2022 22:54:02 +0000 (22:54 +0000)
commit1f5330de3a6c54faf7a0ed7485c72a2ce40ac744
tree23f79cb9a8588e63d6d2b77e7526a98caadf188f
parentef112db31181090034cfae7dc2d2084e0ca4dfc9
r300: fix transformation of abs modifiers with negate

It is being overwritten by the memset. Just set the only remaining
member RelAddr explicitly.

Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Reviewed-by: Filip Gawin <filip.gawin@zoho.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14915>
src/gallium/drivers/r300/compiler/r3xx_vertprog.c