Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 1 | dEQP
|
| 2 | ====
|
| 3 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 4 | These steps are specifically for testing SwiftShader's Vulkan implementation using dEQP on Windows (steps for Linux below the Windows instructions).
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 5 |
|
| 6 | Prerequisites
|
| 7 | -------------
|
| 8 |
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 9 | 1. Install the latest [Python 3](https://www.python.org/downloads/)
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 10 | 2. Install [Visual Studio](https://visualstudio.microsoft.com/vs/community/)
|
| 11 | 3. Install [CMake](https://cmake.org/download/)
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 12 | 4. Install [Go](https://golang.org/doc/install)
|
| 13 | 5. Install [MinGW-W64](http://mingw-w64.org/doku.php/download)
|
| 14 | * Select 'x86_64' as Architecture during setup
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 15 | 6. Install [Git](https://git-scm.com/download/win)
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 16 | 7. Set environment variables: Config Panel -> System and Security -> System -> Advanced system settigns -> Environment Variables
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 17 | * Add `<path to python>` to your PATH environment variable
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 18 | * Add `<path to MinGW-W64>\bin` to your PATH environment variable
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 19 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 20 | 8. (Optional) Install [TortoiseGit](https://tortoisegit.org/)
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 21 |
|
| 22 | Getting the Code
|
| 23 | ----------------
|
| 24 |
|
| 25 | 12. Get dEQP (either in 'cmd' or by using TortoiseGit):
|
| 26 |
|
Nicolas Capens | 5a5ffe5 | 2019-08-09 13:12:27 -0400 | [diff] [blame] | 27 | `git clone https://github.com/KhronosGroup/VK-GL-CTS`
|
| 28 |
|
| 29 | You may wish to check out a stable vulkan-cts-* branch.
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 30 |
|
| 31 | 13. Get dEQP's dependencies. In your dEQP root directory, open 'cmd' and run:
|
| 32 |
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 33 | `python3 external\fetch_sources.py`
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 34 |
|
| 35 | 14. Get Cherry (either in 'cmd' or by using TortoiseGit):
|
| 36 |
|
| 37 | `git clone https://android.googlesource.com/platform/external/cherry`
|
| 38 |
|
| 39 | 15. Set environment variable (see point 9):
|
| 40 |
|
| 41 | Add new variable GOPATH='`<path to cherry>`'
|
| 42 |
|
| 43 | Building the code
|
| 44 | -----------------
|
| 45 |
|
| 46 | 16. Build dEQP's Visual Studio files using the CMake GUI, or, in the dEQP root dir, run:
|
| 47 | ```
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 48 | mkdir build
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 49 | cd build
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 50 | cmake ..
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 51 | ```
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 52 | Note: don't call 'cmake .' directly in the root directory. It will make things fails later on. If you do, simply erase the files created by CMake and follow the steps above.
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 53 |
|
| 54 | 17. Build dEQP:
|
| 55 |
|
| 56 | Open `<path to dEQP>\build\dEQP-Core-default.sln` in Visual Studio and Build Solution
|
| 57 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 58 | Note: Choose a 'Debug' build.
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 59 |
|
| 60 | 18. Generate test cases:
|
| 61 | ```
|
| 62 | mkdir <path to cherry>\data
|
| 63 | cd <path to dEQP>
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 64 | python3 scripts\build_caselists.py <path to cherry>\data
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 65 | ```
|
| 66 |
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 67 | Note: you need to run `python3 scripts\build_caselists.py <path to cherry>\data` every time you update dEQP.
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 68 |
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 69 | Preparing the server
|
| 70 | --------------------
|
| 71 |
|
| 72 | 19. Edit `<path to cherry>\cherry\data.go`
|
Nicolas Capens | 9b49355 | 2018-11-23 10:29:44 -0500 | [diff] [blame] | 73 | * Search for `../candy-build/deqp-wgl` and replace that by `<path to deqp>/build`
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 74 | * Just above, add an option to CommandLine: `--deqp-gl-context-type=egl`
|
Nicolas Capens | af6471b | 2021-09-26 20:51:13 +0000 | [diff] [blame] | 75 | * Remove `--deqp-watchdog=enable` to avoid timeouts during debugging.
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 76 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 77 | Note: If you chose a Release build at step 17, modify the BinaryPath from 'Debug' to 'Release'.
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 78 |
|
Nicolas Capens | 9b49355 | 2018-11-23 10:29:44 -0500 | [diff] [blame] | 79 | Testing Vulkan
|
| 80 | --------------
|
| 81 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 82 | 20. Assuming you already built SwiftShader, copy and rename this file:
|
Nicolas Capens | 9b49355 | 2018-11-23 10:29:44 -0500 | [diff] [blame] | 83 |
|
Dan Sinclair | 1b8cd2d | 2019-03-14 10:51:05 -0400 | [diff] [blame] | 84 | `<path to SwiftShader>\build\Release_x64\vk_swiftshader.dll` or\
|
| 85 | `<path to SwiftShader>\build\Debug_x64\vk_swiftshader.dll`
|
Nicolas Capens | 9b49355 | 2018-11-23 10:29:44 -0500 | [diff] [blame] | 86 |
|
| 87 | To:
|
| 88 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 89 | `<path to dEQP>\build\external\vulkancts\modules\vulkan\Debug\vulkan-1.dll`
|
Nicolas Capens | 9b49355 | 2018-11-23 10:29:44 -0500 | [diff] [blame] | 90 |
|
| 91 | This will cause dEQP to load SwiftShader's Vulkan implementatin directly, without going through a system-provided [loader](https://github.com/KhronosGroup/Vulkan-Loader/blob/master/loader/LoaderAndLayerInterface.md#the-loader) library or any layers.
|
| 92 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 93 | This step can also be automated by setting the `SWIFTSHADER_VULKAN_API_LIBRARY_INSTALL_PATH` environment variable to a path where we'd like the drop-in API library to be installed. For example `<path to dEQP>/build/external/vulkancts/modules/vulkan/Debug/`.
|
| 94 |
|
Nicolas Capens | 9b49355 | 2018-11-23 10:29:44 -0500 | [diff] [blame] | 95 | To use SwiftShader as an [Installable Client Driver](https://github.com/KhronosGroup/Vulkan-Loader/blob/master/loader/LoaderAndLayerInterface.md#installable-client-drivers) (ICD) instead:
|
| 96 | * Edit environment variables:
|
| 97 | * Define VK_ICD_FILENAMES to `<path to SwiftShader>\src\Vulkan\vk_swiftshader_icd.json`
|
| 98 | * If the location of `vk_swiftshader.dll` you're using is different than the one specified in `src\Vulkan\vk_swiftshader_icd.json`, modify it to point to the `vk_swiftshader.dll` file you want to use.
|
| 99 |
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 100 | Running the tests
|
| 101 | -----------------
|
| 102 |
|
| 103 | 21. Start the test server. Go to `<path to cherry>` and run:
|
| 104 |
|
| 105 | `go run server.go`
|
| 106 |
|
| 107 | 22. Open your favorite browser and navigate to `localhost:8080`
|
| 108 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 109 | Get Started -> Choose Device 'localhost' -> Select Tests 'dEQP-VK' -> Execute tests!
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 110 |
|
| 111 | Mustpass sets
|
| 112 | -------------
|
| 113 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 114 | dEQP contains more tests than what is expected to pass by a conformant implementation (e.g. some tests are considered too strict, or assume certain undefined behavior). The [android/cts/master/vk-master.txt](https://android.googlesource.com/platform/external/deqp/+/master/android/cts/master/vk-master.txt) text file which can be loaded in Cherry's 'Test sets' tab to only run the latest tests expected to pass by certified Android devices.
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 115 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 116 | Linux
|
| 117 | -----
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 118 |
|
Nicolas Capens | af6471b | 2021-09-26 20:51:13 +0000 | [diff] [blame] | 119 | The Linux process is similar to Windows. However it doesn't use Release or Debug variants, paths use forward slashes, and it uses shared object files instead of DLLs.
|
Nicolas Capens | fe5861b | 2018-08-03 16:01:48 -0400 | [diff] [blame] | 120 |
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 121 | 1. Install the latest [Python 3](https://www.python.org/downloads/)
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 122 | 2. Install GCC and Make. In a terminal, run:
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 123 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 124 | `sudo apt-get install gcc make`
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 125 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 126 | 3. Install [CMake](https://cmake.org/download/)
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 127 | 4. Install [Go](https://golang.org/doc/install)
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 128 | 5. Install Git. In a terminal, run:
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 129 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 130 | `sudo apt-get install git`
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 131 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 132 | 6. Download the [Vulkan SDK](https://vulkan.lunarg.com/) and unpack it into a location you like.
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 133 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 134 | Getting the Code
|
| 135 | ----------------
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 136 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 137 | 7. Get Swiftshader. In a terminal, go to the location you want to keep Swiftshader, and run:
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 138 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 139 | ```
|
| 140 | git clone https://swiftshader.googlesource.com/SwiftShader && (cd SwiftShader && curl -Lo `git rev-parse --git-dir`/hooks/commit-msg https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; chmod +x `git rev-parse --git-dir`/hooks/commit-msg)
|
| 141 | ```
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 142 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 143 | This will also install the commit hooks you need for committing to SwiftShader.
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 144 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 145 | 8. Get dEQP:
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 146 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 147 | `git clone https://github.com/KhronosGroup/VK-GL-CTS`
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 148 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 149 | 9. Get dEQP's dependencies. In your dEQP root directory, run:
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 150 |
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 151 | `python3 external/fetch_sources.py`
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 152 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 153 | 10. Get Cherry, similar to step 8:
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 154 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 155 | `git clone https://android.googlesource.com/platform/external/cherry`
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 156 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 157 | 11. Set environment variable. Open ~/.bashrc in your preferred editor and add the following line:
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 158 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 159 | GOPATH='`<path to cherry>`'
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 160 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 161 | Building the code
|
| 162 | -----------------
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 163 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 164 | 12. Build Swiftshader. In the Swiftshader root dir, run:
|
| 165 | ```
|
| 166 | cd build
|
| 167 | cmake ..
|
| 168 | make --jobs=$(nproc)
|
| 169 | ```
|
Ben Clayton | d9ce258 | 2019-02-06 11:54:15 +0000 | [diff] [blame] | 170 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 171 | 13. Set your environment variables. In the terminal in which you'll be building dEQP, run the following commands:
|
| 172 |
|
| 173 | ```
|
| 174 | export LD_LIBRARY_PATH="<Vulkan SDK location>/x86_64/lib:$LD_LIBRARY_PATH"
|
| 175 | export LD_LIBRARY_PATH="<Swiftshader location>/build:$LD_LIBRARY_PATH"
|
| 176 | ```
|
| 177 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 178 | 14. Build dEQP. In the dEQP root dir, run:
|
| 179 | ```
|
| 180 | mkdir build
|
| 181 | cd build
|
| 182 | cmake ..
|
| 183 | make --jobs=$(nproc)
|
| 184 | ```
|
| 185 |
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 186 | Also: don't call 'cmake .' directly in the root directory. It will make things fails later on. If you do, simply erase the files created by CMake and follow the steps above.
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 187 |
|
| 188 | 15. Generate test cases:
|
| 189 | ```
|
| 190 | mkdir <path to cherry>/data
|
| 191 | cd <path to dEQP>
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 192 | python3 scripts/build_caselists.py <path to cherry>/data
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 193 | ```
|
| 194 |
|
Nicolas Capens | 8875d25 | 2020-12-10 04:22:23 +0000 | [diff] [blame] | 195 | Note: you need to run `python3 scripts/build_caselists.py <path to cherry>/data` every time you update dEQP.
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 196 |
|
| 197 | Preparing the server
|
| 198 | --------------------
|
| 199 |
|
| 200 | 16. Edit `<path to cherry>/cherry/data.go`
|
| 201 | * Search for ".exe" and remove all instances.
|
Nicolas Capens | af6471b | 2021-09-26 20:51:13 +0000 | [diff] [blame] | 202 | * Search for `../candy-build/deqp-wgl/execserver/Release` and replace that by `<path to deqp>/build/execserver/execserver`
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 203 | * Just above, add an option to CommandLine: `--deqp-gl-context-type=egl`
|
| 204 | * Just below, remove 'Debug/' from the BinaryPath.
|
Nicolas Capens | af6471b | 2021-09-26 20:51:13 +0000 | [diff] [blame] | 205 | * Just one more line below, replace `../candy-build/deqp-wgl/` with `<path to deqp>/build/modules/${TestPackageDir}`.
|
| 206 | * Remove `--deqp-watchdog=enable` to avoid timeouts during debugging.
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 207 |
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 208 | Testing Vulkan
|
| 209 | --------------
|
| 210 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 211 | 17. Use SwiftShader as an [Installable Client Driver](https://github.com/KhronosGroup/Vulkan-Loader/blob/master/loader/LoaderAndLayerInterface.md#installable-client-drivers) (ICD). Add the following line to your `~/.bashrc`:
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 212 |
|
| 213 | `export VK_ICD_FILENAMES="<path to SwiftShader>/build/Linux/vk_swiftshader_icd.json"`
|
| 214 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 215 | Then run `source ~/.bashrc` in the terminal(s) you'll be running tests from.
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 216 |
|
| 217 |
|
| 218 | Running the tests
|
| 219 | -----------------
|
| 220 |
|
| 221 | 18. Start the test server. Go to `<path to cherry>` and run:
|
| 222 |
|
| 223 | `go run server.go`
|
| 224 |
|
| 225 | 19. Open your favorite browser and navigate to `localhost:8080`
|
| 226 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 227 | Get Started -> Choose Device 'localhost' -> Select Tests 'dEQP-VK' -> Execute tests!
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 228 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 229 | 20. To make sure that you're running SwiftShader's drivers, select only the dEQP-VK->info->device test. In the next window, click on these tests in the left pane. If you see SwiftShader in the deviceName field, then you've set your suite up properly.
|
Sean Risser | bd3af85 | 2019-04-03 11:39:57 -0400 | [diff] [blame] | 230 |
|
| 231 | 21. If you want to run Vulkan tests in the command line, go to the build directory in dEQP root. Then run the following command:
|
| 232 |
|
| 233 | `external/vulkanacts/modules/vulkan/deqp-vk`
|
| 234 |
|
| 235 | You can also run individual tests with:
|
| 236 |
|
| 237 | `external/vulkanacts/modules/vulkan/deqp-vk --deqp-case=<test name>`
|
| 238 |
|
| 239 | And you can find a list of the test names in `<Swiftshader root>/tests/regres/testlists/vk-master.txt` However, deqp-vk will cease upon the first failure. It's recommended that you use cherry for your testing needs unless you know what you're doing.
|
| 240 |
|
| 241 | 22. To check that you're running SwiftShader in cherry, start the server
|
| 242 |
|
| 243 | Mustpass sets
|
| 244 | -------------
|
| 245 |
|
Nicolas Capens | 75665e5 | 2022-02-04 10:34:13 -0500 | [diff] [blame] | 246 | dEQP contains more tests than what is expected to pass by a conformant implementation (e.g. some tests are considered too strict, or assume certain undefined behavior). The [android/cts/master/vk-master.txt](https://android.googlesource.com/platform/external/deqp/+/master/android/cts/master/vk-master.txt) text file which can be loaded in Cherry's 'Test sets' tab to only run the latest tests expected to pass by certified Android devices.
|