The expression "IfThenElse(e < 24, mantissa >> e, Int(0))" gets rewritten into "IfThenElse(e<24, mantissa> > e, Int(0))" by some versions of clang-format, thus breaking the build. It's likely a clang-format bug that should be fixed, but the workaround is simple and still quite elegant: "IfThenElse(e < 24, (mantissa >> e), Int(0))" Bug: b/144825072 Change-Id: I9cc19c6cae31bb0452b4e5402f6a742d15c45e55 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/39428 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Reviewed-by:Ben Clayton <bclayton@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Tested-by:
Nicolas Capens <nicolascapens@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... | |
| .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... | |
| SwiftShader.sln | Loading commit data... |