wgpu/wgpu-info
Connor Fitzgerald 95a760bb42
Implement queue.copy_external_image_to_texture for WebGL2 and improve WebGPU Impl (#3288)
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
Closes https://github.com/gfx-rs/wgpu/issues/1888
2023-01-24 18:44:15 +00:00
..
src Implement queue.copy_external_image_to_texture for WebGL2 and improve WebGPU Impl (#3288) 2023-01-24 18:44:15 +00:00
Cargo.toml Add cargo-deny to CI (#3185) 2022-11-30 16:46:58 -05:00
README.md Remove the default features from wgpu-info (#2753) 2022-06-10 19:57:06 +00: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.