webgpu: Parse and forward backend prefs to wgpu (#32410)

Signed-off-by: Hieu Do <hieudn.uh@gmail.com>
This commit is contained in:
Hieu Do 2024-06-01 00:51:36 +07:00 committed by GitHub
parent 500a475217
commit 3d70243438
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 2 deletions

View file

@ -206,6 +206,8 @@ mod gen {
webgpu: {
/// Enable WebGPU APIs.
enabled: bool,
/// List of comma-separated backends to be used by wgpu
wgpu_backend: String,
},
bluetooth: {
enabled: bool,