swr: missing _BitScanForward64 on 32 bits win
authorMichel Zou <xantares09@hotmail.com>
Sun, 13 Sep 2020 06:59:34 +0000 (08:59 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 18 Sep 2020 06:24:00 +0000 (06:24 +0000)
commit82c49a66c07a86e75efc490f542dfbf86078814e
tree17b00b98c2d8b1c7a4a5c005bd1925c305846d5b
parent5805f5ab0161d597432adfa646557f2c8c25d278
swr: missing _BitScanForward64 on 32 bits win

the code does not compile on 32 bits systems
for mingw we can use gcc intrinsics like the unix side
for msvc a generic implementation is provided

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Krzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Reviewed-by: Jan Zielinski <jan.zielinski@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6705>
src/gallium/drivers/swr/rasterizer/common/os.h