We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4248952 commit a208ecaCopy full SHA for a208eca
3rdparty/dawn/src/tint/utils/math/math.h
@@ -57,7 +57,7 @@ inline constexpr bool IsPowerOfTwo(T value) {
57
inline constexpr uint32_t Log2(uint64_t value) {
58
#if defined(__clang__) || defined(__GNUC__)
59
return 63 - static_cast<uint32_t>(__builtin_clzll(value));
60
-#elif defined(_MSC_VER) && !defined(__clang__) && __cplusplus >= 202002L // MSVC and C++20+
+#elif 0 //defined(_MSC_VER) && !defined(__clang__) && __cplusplus >= 202002L // MSVC and C++20+
61
// note: std::is_constant_evaluated() added in C++20
62
// required here as _BitScanReverse64 is not constexpr
63
if (!std::is_constant_evaluated()) {
0 commit comments