From 01019b9577447a235f27770f7eaabfe08e235ab5 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 8 Sep 2023 11:59:53 +1000 Subject: [PATCH] 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 Part-of: (cherry picked from commit 109a99e6914b124563dca7bb3b8c5eb276a1ad59) --- .pick_status.json | 2 +- src/gallium/auxiliary/gallivm/lp_bld_limits.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 478ef57b98c..241ba05303f 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -5714,7 +5714,7 @@ "description": "llvmpipe: enable f16 paths on aarch64.", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null 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; } /**