mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-23 12:22:55 +00:00
![]() * Add serde, serialize, deserialize features to wgpu and wgpu-core Remove trace, replay features from wgpu-types * Do not use trace, replay in wgpu-types anymore * Make use of deserialize, serialize features in wgpu-core * Make use of serialize, deserialize features in wgpu * Run cargo fmt * Use serde(default) for deserialize only * Fix serial-pass feature * Add a comment for new features * Add CHANGELOG entry * Run cargo fmt * serial-pass also needs serde features for Id<T> * Add feature documentation to lib.rs docs * wgpu-types implicit serde feature * wgpu-core explicit serde feature * wgpu explicit serde feature * Update CHANGELOG.md * Fix compilation with default features * Address review comments |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
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.