Skip to content

gallivm/nir: fix const loading on big endian systems

The code was expecting the lower 32-bits of the 64-bit to be what it wanted, don't be implicit, pull the value from the union.

This should fix rendering on big endian systems since NIR was introduced.

Fixes: 44a6b010 ("gallivm: add nir->llvm translation (v2)")

Merge request reports