diff options
author | Dylan Baker <[email protected]> | 2018-09-07 13:09:23 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-09-20 05:52:23 -0700 |
commit | 0abce6d7700ee42eb00c787732ec1fdefe250d03 (patch) | |
tree | 382bf7596a0d44e7df8010d1beb370ae1b5d1cbf /meson.build | |
parent | b8b3517a49555b5127776272848d8689327db960 (diff) |
utils/u_math: break dependency on gallium/utils
Currently u_math needs gallium utils for cpu detection. Most of what
u_math uses out of u_cpu_detection is duplicated in src/mesa/x86
(surprise!), so I've just reworked it as much as possible to use the
x86/common_x86_features.h macros instead of the gallium ones. The mesa
implementation is a header only approach, with no external dependencies.
There is one small function that was copied over, as promoting
u_cpu_detection is itself a fairly hefty undertaking, as it depends on
u_debug, and this fixes the bug for now.
bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107870
Tested-by: Vinson Lee <[email protected]>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions