nir_to_tgsi: Fix buffer overflow in atomic image compswap.
authorEric Anholt <eric@anholt.net>
Thu, 14 Jan 2021 20:53:57 +0000 (12:53 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 25 Jan 2021 18:50:26 +0000 (18:50 +0000)
commitfb25ef153a0aa7c30b4106fc1f982a886b870fca
tree278a01da63d909b9c3739500762c7133b114579d
parent58e43594fc457eaaf1b1e01e48948959a82080bc
nir_to_tgsi: Fix buffer overflow in atomic image compswap.

Caught by the new asan CI job.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8530>
src/gallium/auxiliary/nir/nir_to_tgsi.c