gallivm/nir: fix big-endian 64-bit splitting/merging.
authorDave Airlie <airlied@redhat.com>
Mon, 29 Jun 2020 04:59:20 +0000 (14:59 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 30 Jun 2020 23:52:56 +0000 (09:52 +1000)
commit3aeb61da49cf0e141759c23d4790ad5dd96bcf52
tree9bdb0f38aa130c6896e3f2cd91c12b163928beb3
parent928660527697bc37b475037f9f2579aa4d2205b4
gallivm/nir: fix big-endian 64-bit splitting/merging.

The shuffles need to be swapped to do this properly on big-endian

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5679>
src/gallium/auxiliary/gallivm/lp_bld_nir.c
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c