From 89b1dbcb5a5a5d7118fe5216e95cc39b7a54d0af Mon Sep 17 00:00:00 2001 From: Zicklag Date: Wed, 28 Jul 2021 14:08:44 -0500 Subject: [PATCH] Mention WGPU_ADAPTER_NAME Env Var in WGPU README --- wgpu/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wgpu/README.md b/wgpu/README.md index caa6f4ca7c..15ebd59970 100644 --- a/wgpu/README.md +++ b/wgpu/README.md @@ -39,6 +39,10 @@ The following environment variables can be used to configure how the framework e If unset a low power adapter is preferred. +- `WGPU_ADAPTER_NAME` + + Select a specific adapter by specifying a substring of the adapter name. + #### Run Examples on the Web (`wasm32-unknown-unknown`) See [wiki article](https://github.com/gfx-rs/wgpu-rs/wiki/Running-on-the-Web-with-WebGPU-and-WebGL).