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 <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25104>
This commit is contained in:
Dave Airlie 2023-09-08 11:59:53 +10:00 committed by Marge Bot
parent adaf4460bd
commit 109a99e691

View file

@ -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;
}
/**