webgpu: Enable gles support (#32452)

This commit is contained in:
Hieu Do 2024-06-09 11:35:27 +07:00 committed by GitHub
parent b178a2b6e2
commit 4f5184b6e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 1 deletions

View file

@ -34,7 +34,7 @@ features = ["metal"]
# We want the wgpu-core Vulkan backend on Linux and Windows.
[target.'cfg(any(windows, all(unix, not(any(target_os = "macos", target_os = "ios")))))'.dependencies.wgpu-core]
workspace = true
features = ["vulkan"]
features = ["gles", "vulkan"]
# We want the wgpu-core Direct3D backends on Windows.
[target.'cfg(windows)'.dependencies.wgpu-core]