util: fix test on msvc
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 3 May 2022 08:41:05 +0000 (10:41 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 3 May 2022 19:33:20 +0000 (19:33 +0000)
commit5a62d004804f0b9fbf9758ddf63ad87f493fc558
treea663b3a53ba3b493c26e07ae14bd1833e764898d
parentca280b2283dacaeef0a43e5585c50ed4f0db6a83
util: fix test on msvc

We also miss this function on MSVC. But let's use the functionality in
meson to check for supported functions instead of hand-rolling the list
here.

Fixes: 067023dce2c ("util: Add some unit tests of the half-float conversions.")
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16290>
meson.build
src/util/tests/half_float_test.cpp