gallivm/nir: fix shuffleup tests.
authorDave Airlie <airlied@redhat.com>
Wed, 7 Jun 2023 01:25:49 +0000 (11:25 +1000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 8 Jun 2023 01:40:45 +0000 (01:40 +0000)
commitc20df7e22e6af3e58c79b8413e2cf41aee2b6220
tree3975da9be945dd103bc7d04c1cc343ecb5a6db6f
parent976dd26004ff6b52e14c031398edae840ded005a
gallivm/nir: fix shuffleup tests.

So the shuffleup tests did a shuffle up with const 5,
we'd use invocation id (0..8) shuffle it down by 5,
get (-5..3), then call llvmshufflevector with that
which is totally illegal.

There might be a nicer way to fix this, but I can't see
it straight away, just bail on the fast path.

Fixes:
dEQP-VK.subgroups.shuffle.compute.subgroupshuffleup*

Cc: mesa-stable
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23484>
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c
src/gallium/frontends/lavapipe/ci/lvp-fails.txt
src/virtio/ci/venus-fails.txt