diff options
author | Ray Molenkamp <github@lazydodo.com> | 2021-02-17 20:21:00 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2021-02-17 20:21:00 +0300 |
commit | 8095aad47e2c0f2ae67be67b362964ba1c892369 (patch) | |
tree | 96a4b2a06659b8fa962be211360949f7b98f1b1b /intern/cycles | |
parent | 4d28a1d75fded6176b495b72d843487c35a6890d (diff) |
Cycles: Fix build error on windows
Function __bsf was in util/util_simd.h twice
problem located by @EAW on chat.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/util/util_simd.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/intern/cycles/util/util_simd.h b/intern/cycles/util/util_simd.h index c51c3c957e0..d327b7298dc 100644 --- a/intern/cycles/util/util_simd.h +++ b/intern/cycles/util/util_simd.h @@ -224,17 +224,6 @@ __forceinline uint32_t __bsf(uint32_t v) # endif } -__forceinline uint32_t __bsf(uint32_t v) -{ -# if defined(__KERNEL_AVX2__) - return _tzcnt_u32(v); -# else - unsigned long r = 0; - _BitScanForward(&r, v); - return r; -# endif -} - __forceinline uint32_t __bsr(uint32_t v) { unsigned long r = 0; |