To run dEQP tests we previously either had to install the Vulkan Loader and configure it to find the SwiftShader Vulkan ICD, or manually copy over the library. This change introduces the SWIFTSHADER_VULKAN_API_LIBRARY_INSTALL_PATH environment variable, which can be set to a path where the API library should be copied to. When used with dEQP it ensures we always test with the last build, instead of the path provided in the JSON file used by the Vulkan loader. Note this is only meant as a convenience for SwiftShader development. It shouldn't be used as a substitute for installing the ICD for system-wide usage. The latter should probably use CMAKE_INSTALL_PREFIX instead, but there are no known use cases yet for installing SwiftShader as the system-level driver, through the CMake build. Bug: b/149486511 Change-Id: I5ec9d669967ba0c05a763263605ee0ad5cfd505e Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/53768 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Tested-by:Nicolas Capens <nicolascapens@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Reviewed-by:
Alexis Hétu <sugoi@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... | |
| infra/config | 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... | |
| DIR_METADATA | Loading commit data... | |
| LICENSE.txt | Loading commit data... | |
| OWNERS | Loading commit data... | |
| README.md | Loading commit data... | |
| codereview.settings | Loading commit data... |