commit | 27ec38d746824046f780efa934d4f25c1c8b32a8 | [log] [tgz] |
---|---|---|
author | Rhys Perry <pendingchaos02@gmail.com> | Wed Aug 05 21:03:31 2020 +0100 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Aug 20 10:52:19 2020 +0000 |
tree | 13517ce6baa69664da52b8161a32b6d5fd802750 | |
parent | 391eeb744356353e96ce34f23b8b16b718a02d61 [diff] |
nir: fix potential left shift of a negative value Fixes UBSan error: src/compiler/nir/nir_constant_expressions.c:36573:32: runtime error: left shift of negative value -1 Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6206>