* Fix std::shared_mutex not found when compiling with clang-cl. LLVM's RWMutex assumes _MSC_VER is defined only when using the msvc compiler, but clang-cl also defines it, which uses libc++ that does not define std::shared_mutex for pre-C++17. To fix it, we also make sure __clang__ is not defined (_MSC_VER and __clang__ implies clang-cl). I will make a similar upstream fix. * Fix missing ___chkstk symbol linker error * Fix "warning C4018: '>': signed/unsigned mismatch" by disabling the warning. Bug: b/152339534 Bug: b/161554059 Bug: chromium:1106623 Bug: angleproject:4851 Change-Id: I8639417e3ff78d82477b5ff9699f63507ec2a4ec Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/46628Reviewed-by:Nicolas Capens <nicolascapens@google.com> Tested-by:
Antonio Maiorano <amaiorano@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .vscode | Loading commit data... | |
| build | Loading commit data... | |
| build_overrides | Loading commit data... | |
| docs | Loading commit data... | |
| extensions | Loading commit data... | |
| include | Loading commit data... | |
| src | Loading commit data... | |
| tests | Loading commit data... | |
| third_party | Loading commit data... | |
| tools/cmake_generate_graphviz | Loading commit data... | |
| .clang-format | Loading commit data... | |
| .dir-locals.el | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .gitmodules | Loading commit data... | |
| AUTHORS.txt | Loading commit data... | |
| Android.bp | Loading commit data... | |
| BUILD.gn | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| CMakeSettings.json | Loading commit data... | |
| CONTRIBUTING.txt | Loading commit data... | |
| CONTRIBUTORS.txt | Loading commit data... | |
| LICENSE.txt | Loading commit data... | |
| OWNERS | Loading commit data... | |
| README.md | Loading commit data... | |
| codereview.settings | Loading commit data... |