Fix an issue where tryWait() would abort when called on an unsignaled semaphore. Due to the fact that zx_object_wait_one() will return ZX_ERR_TIMED_OUT in this case (because the expiration time was set with zx_clock_get_monotonic() instead of ZX_TIME_INFINITE). This fixes an issue that appears when vkWaitForIdle() is called by certain Fuchsia Vulkan graphics tests. + Replace ABORT() calls with DABORT() and proper returns to avoid crashing if DCHECK_ALWAYS_ON is not defined at build time. Bug: None Change-Id: Idaf14ed580c0c3ab326705842bcfe5e23eaad2b8 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/44018 Kokoro-Result: kokoro <noreply+kokoro@google.com> Reviewed-by:Nicolas Capens <nicolascapens@google.com> Tested-by:
David Turner <digit@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... | |
| .clang-format | Loading commit data... | |
| .dir-locals.el | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .gitmodules | Loading commit data... | |
| .travis.yml | 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... |