gallivm: use masked intrinsics for global and scratch access.
authorDave Airlie <airlied@redhat.com>
Mon, 14 Nov 2022 08:00:10 +0000 (18:00 +1000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Nov 2022 23:31:54 +0000 (23:31 +0000)
commit442d1fe5ad61a82cd5fa883faf2bb76a7f07401e
treecb94a6895a713d614baafe608d28a9c32c457963
parentfda262fe64ed3d55527921e67681056b0efe9f30
gallivm: use masked intrinsics for global and scratch access.

This seems to improve luxmark scores for me on the luxball scene
from numbers in the 4-500 range to 5-700 range.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Tested-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19736>
src/gallium/auxiliary/gallivm/lp_bld_gather.c
src/gallium/auxiliary/gallivm/lp_bld_gather.h
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c