Module: Mesa Branch: main Commit: 109a99e6914b124563dca7bb3b8c5eb276a1ad59 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=109a99e6914b124563dca7bb3b8c5eb276a1ad59
Author: Dave Airlie <[email protected]> Date: Fri Sep 8 11:59:53 2023 +1000 llvmpipe: enable f16 paths on aarch64. Karol noticed luxmark didn't work, and this seems to fix it. Cc: mesa-stable Reviewed-by: Karol Herbst <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25104> --- src/gallium/auxiliary/gallivm/lp_bld_limits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_limits.h b/src/gallium/auxiliary/gallivm/lp_bld_limits.h index 77da9f8a6b2..8deae32a2a7 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_limits.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_limits.h @@ -86,7 +86,7 @@ static inline bool lp_has_fp16(void) { - return util_get_cpu_caps()->has_f16c; + return util_get_cpu_caps()->has_f16c || DETECT_ARCH_AARCH64; } /**
