@@ -59,7 +59,7 @@ unexpected_cfgs = { level = "warn", check-cfg = [
59
59
# exclude the Vulkan backend on MacOS unless a separate feature `vulkan-portability` is enabled. In response
60
60
# to these features, it enables features of platform specific crates. For example, the `vulkan` feature in wgpu-core
61
61
# enables the `vulkan` feature in `wgpu-core-deps-windows-linux-android` which in turn enables the
62
- # `vulkan` feature in `wgpu-hal` _only_ on those platforms. If you enable the `vulkan-portability` feature, it
62
+ # `vulkan` feature in `wgpu-hal` _only_ on those platforms. If you enable the `vulkan-portability` feature, it
63
63
# will enable the `vulkan` feature in `wgpu-core-deps-apple`. The only way to do this is unfortunately to have
64
64
# a separate crate for each platform category that participates in the feature unification.
65
65
#
@@ -82,6 +82,7 @@ metal = [
82
82
" dep:metal" ,
83
83
" dep:objc" ,
84
84
" dep:profiling" ,
85
+ " dep:raw-window-metal" ,
85
86
]
86
87
vulkan = [
87
88
" naga/spv-out" ,
@@ -96,6 +97,7 @@ vulkan = [
96
97
" dep:log" ,
97
98
" dep:ordered-float" ,
98
99
" dep:profiling" ,
100
+ " dep:raw-window-metal" ,
99
101
" dep:smallvec" ,
100
102
" dep:windows" ,
101
103
" windows/Win32" ,
@@ -112,6 +114,7 @@ gles = [
112
114
" dep:libloading" ,
113
115
" dep:log" ,
114
116
" dep:ndk-sys" ,
117
+ " dep:objc" ,
115
118
" dep:profiling" ,
116
119
" dep:wasm-bindgen" ,
117
120
" dep:web-sys" ,
@@ -274,6 +277,9 @@ core-graphics-types = { workspace = true, optional = true }
274
277
metal = { workspace = true , optional = true }
275
278
objc = { workspace = true , optional = true }
276
279
280
+ # backend: Metal + Vulkan
281
+ raw-window-metal = { workspace = true , optional = true }
282
+
277
283
# ########################
278
284
# ## Platform: Android ###
279
285
# ########################
0 commit comments