Previously the return value of the function called through the Pointer<Byte> argument was not returned from the rr::Call(). This change implements proper support for both non-void and void returning function signatures. This change also adds a unit test which demonstrates the use of a 'trampoline', which makes use of the new non-void indirect call. Bug: b/175830790 Change-Id: I100588c6319d0c45797c48a068e1e46fa9f441ba Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/51308 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by:Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Antonio Maiorano <amaiorano@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| GLESUnitTests | Loading commit data... | |
| MathUnitTests | Loading commit data... | |
| ReactorBenchmarks | Loading commit data... | |
| ReactorUnitTests | Loading commit data... | |
| SystemBenchmarks | Loading commit data... | |
| SystemUnitTests | Loading commit data... | |
| VulkanBenchmarks | Loading commit data... | |
| VulkanUnitTests | Loading commit data... | |
| VulkanWrapper | Loading commit data... | |
| check_build_files | Loading commit data... | |
| fuzzers | Loading commit data... | |
| kokoro | Loading commit data... | |
| regres | Loading commit data... | |
| scan_sources | Loading commit data... | |
| presubmit.sh | Loading commit data... | |
| rundroid.sh | Loading commit data... |