wgpu/wgpu-info
2022-02-18 23:24:18 -05:00
..
src Test WebGPU backend with extra features 2022-01-06 12:48:40 -05:00
Cargo.toml Update dev deps (#2493) 2022-02-18 23:24:18 -05:00
README.md Assorted touchups 2021-06-23 20:23:19 -04: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.

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.