llvmpipe: fix native vector width init
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 28 Apr 2023 20:34:44 +0000 (16:34 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sat, 29 Apr 2023 03:36:19 +0000 (03:36 +0000)
commite9864d7f39d74a914e1d486a1a36627d296e9315
tree68599d415b0e74ccfc62eb380cc75b6e635cbbbe
parent78ea6220a760902babb7ce709d61fc4278e4eb56
llvmpipe: fix native vector width init

this otherwise causes infinite loops in subgroup tests
and kills ci

Fixes: 4a056807bc3 ("gallivm: break out native vector width calc for reuse")

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22767>
src/gallium/auxiliary/gallivm/lp_bld_init.c
src/gallium/auxiliary/gallivm/lp_bld_init.h
src/gallium/drivers/llvmpipe/lp_screen.c