Skip to content

Instantly share code, notes, and snippets.

@fkaa
Last active May 15, 2018 17:01
Show Gist options
  • Save fkaa/d20ff7cac56c46021284dfec0731957d to your computer and use it in GitHub Desktop.
Save fkaa/d20ff7cac56c46021284dfec0731957d to your computer and use it in GitHub Desktop.
C:\dev\test> git clone https://github.com/KhronosGroup/VK-GL-CTS
C:\dev\test> git clone https://github.com/gfx-rs/portability
C:\dev\test> git clone https://android.googlesource.com/platform/external/cherry

C:\dev\test> cargo build --manifest-path=portability\libportability-icd\Cargo.toml --features=dx12
C:\dev\test> cd VK-GL-CTS\external && python fetch_sources.py && cd ..\..\
C:\dev\test> cmake VK-GL-CTS\ -G "Visual Studio 15 2017 Win64" -BVK-GL-CTS\build
C:\dev\test> cmake --build VK-GL-CTS\build --config Release --target deqp-vk
C:\dev\test> cmake --build VK-GL-CTS\build --config Release --target execserver

C:\dev\test> mkdir cherry\data
C:\dev\test> cd VK-GL-CTS && python scripts/build_caselists.py ..\cherry\data && cd ..\

C:\dev\test> set VK_ICD_FILENAMES=C:\Dev\test\portability\libportability-icd\portability_debug.json
C:\dev\test> cd cherry && go run server.go

apply patch to cherry:

diff --git a/cherry/data.go b/cherry/data.go
index 6523df9..cda44d0 100644
--- a/cherry/data.go
+++ b/cherry/data.go
@@ -816,9 +816,9 @@ func InitDB (rtdbServer *rtdb.Server) {
                                TargetPort:                     50016,
                                CommandLine:            "--deqp-watchdog=enable --deqp-crashhandler=enable --deqp-visibility=hidden --deqp-gl-config-name=rgba8888d24s8ms0",

-                               LocalProcessPath:       "../candy-build/deqp-wgl/execserver/Release/execserver.exe",
-                               BinaryPath:                     "Debug/${TestPackageName}.exe",
-                               WorkingDir:                     "../candy-build/deqp-wgl/modules/${TestPackageDir}",
+                               LocalProcessPath:       "../VK-GL-CTS/build/execserver/Release/execserver",
+                               BinaryPath:                     "Release/deqp-vk",
+                               WorkingDir:                     "../VK-GL-CTS/build/external/vulkancts/modules/vulkan",
                        },
                }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment