vkrunner --device-id <number> [OPTION]... SCRIPT
vkrunner --device-id=<number> [OPTION]... SCRIPT
Also, Vkrunner now supports long options. You can use the options
-h to see them.
$ vkrunner --help
usage: vkrunner [OPTION]... SCRIPT...
Runs the shader test script SCRIPT
-h,--help Show this help message
-i,--image IMG Write the final rendering to IMG as a PPM image
-b,--buffer BUF Dump contents of a UBO or SSBO to BUF
-B,--binding BINDING Select which buffer to dump using the -b option. Defaults to first buffer
-d,--disasm Show the SPIR-V disassembly
-D,--replace TOK=REPL Replace occurences of TOK with REPL in the scripts
-q,--quiet Don’t print any non-error information to stdout
--device-id DEVID Select the Vulkan device
You can find more about Vkrunner and shader testing in the following Igalian blogs and posts:
 Neil Robert’s blog: https://blogs.igalia.com/nroberts/
 Samuel Iglesias Gonsálvez’s blog: https://blogs.igalia.com/siglesias/
 Older posts of mine that have the tag “vkrunner”: here and here.