aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2020-04-29 06:38:12 +0200
committerMarge Bot <[email protected]>2020-04-30 01:21:21 +0000
commit51a82ec3e437d1d2dc4c688578640d25b3e7f0a2 (patch)
tree00f5a1f070b81cc9b6f7534c58d31010d06f7aaf /src/gallium/drivers
parentec6565bb2614afe605afae516a2f1dd8ada5bcad (diff)
gallivm: fix half to float conversions with llvm 11
LLVM 11 removes the intrinsic for half to float conversion, so use the fpext function instead. This function actually works now with half to float, albeit a quick experiment showed at least the x86 backend cannot lower it itself if the cpu doesn't support it natively and tries to call external library, which crashes (and would be very slow anyway as it would be lowered to scalar code), so for now only use it where we previously used the f16c intrinsic. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2603 Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4800>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions