nir: Allow nir_format conversions to work on 32-bit values

Graphics / Mesa 3D Graphics Library / Mesa - Icecream95 [keemail.me] - 28 February 2020 11:52 EST

The constant has to changed to unsigned long long, as shifting a 32-bit value by 32 is undefined behaviour.

574b03eebfb nir: Allow nir_format conversions to work on 32-bit values
src/compiler/nir/nir_format_convert.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share