llvmpipe: Zero extend vectors in widen_to_simd_width
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Wed, 26 Jul 2023 21:07:54 +0000 (23:07 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 28 Jul 2023 11:05:06 +0000 (11:05 +0000)
commit0a07431e9a298991c84b07d2b0e44b051d88a065
treed5d9f3f4eee5c51b680e87ca3c0ff7b42997dc42
parent0d75fc8e423a3feec265f276d09d8234cd263b34
llvmpipe: Zero extend vectors in widen_to_simd_width

Extending using the first element vould extend the exec_mask (-1, 0, 0,
0) to (-1, 0, 0, 0, -1, -1, -1, -1).

Fixes: 573b8f2 ("gallivm: Implement vulkan textures")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9435
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24340>
src/gallium/auxiliary/gallivm/lp_bld_jit_sample.c