wgpu/wgpu-info
Alexander Meißner ea77d5674d
Subgroup Operations (#5301)
Co-authored-by: Jacob Hughes <j@distanthills.org>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
Co-authored-by: atlas dostal <rodol@rivalrebels.com>
2024-04-17 15:25:52 -04:00
..
src Subgroup Operations (#5301) 2024-04-17 15:25:52 -04:00
Cargo.toml Feature/serde feature (#5149) 2024-01-28 20:13:04 +00:00
README.md Fixes and changes to the documentation for increasing clarity (#4806) 2023-12-01 14:02:00 -05:00

wgpu-info

This is a command line utility that does two different functions.

Listing Adapters

When called with no arguments, wgpu-info will list all adapters visible to wgpu and all the information about them we have.

For OpenGL on platforms other than Linux add the angle feature, for Vulkan on macOS add the vulkan-portability feature.

cargo run --bin wgpu-info

Running Test on many Adapters

When called with any amount of arguments, it will interpret all of the arguments as a command to run. It will run this command N different times, one for every combination of adapter and backend on the system.

For every command invocation, it will set WGPU_ADAPTER_NAME to the name of the adapter name and WGPU_BACKEND to the name of the backend. This is used as the primary means of testing across many adapters.