mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
* Initial Commit * Remove now-redundant `format` import * Update CHANGELOG.md * Appropriately feature-gate `texture_format_serialize` test * Remove `alloc` feature Also fixed some documentation links and a Wasm `std` import * Revert change to `Serialize` for `TextureFormat` * Combine use statements * Switch from `PathBuf` to `String` * Consider environmental flags as unset on `no_std` * Fix missing `format!` * Add new CI tasks for `no_std` testing * Comment out known failing CI matrix option * Update all usage of `Dx12Compiler::DynamicDxc` * Added comments to CI * Update .github/workflows/ci.yml * Update .github/workflows/ci.yml * Update .github/workflows/ci.yml * CI Touchups --------- Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
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.