Crates.io | wgpu-info |
lib.rs | wgpu-info |
version | 23.0.0 |
source | src |
created_at | 2023-07-21 03:17:46.361016 |
updated_at | 2024-10-30 14:32:11.688071 |
description | A tool to print and process information about available wgpu adapters. |
homepage | https://wgpu.rs/ |
repository | https://github.com/gfx-rs/wgpu |
max_upload_size | |
id | 922051 |
size | 61,984 |
This is a command line utility that does two different functions.
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
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.