#graphics #wgpu #d3d12 #vulkan #webgpu #opengl #metal

app wgpu-info

A tool to print and process information about available wgpu adapters

3 releases (breaking)

0.19.0 Jan 17, 2024
0.18.0 Oct 25, 2023
0.17.0 Jul 21, 2023

#542 in Graphics APIs

Download history 4/week @ 2023-11-06 8/week @ 2023-11-13 39/week @ 2023-11-20 14/week @ 2023-11-27 9/week @ 2023-12-04 24/week @ 2023-12-11 5/week @ 2023-12-18 10/week @ 2023-12-25 10/week @ 2024-01-01 7/week @ 2024-01-08 48/week @ 2024-01-15 17/week @ 2024-01-22 19/week @ 2024-01-29 9/week @ 2024-02-05 29/week @ 2024-02-12 72/week @ 2024-02-19

129 downloads per month


18K SLoC


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.


~598K SLoC