@@ -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" ,
@@ -97,6 +98,7 @@ vulkan = [
97
98
" dep:log" ,
98
99
" dep:ordered-float" ,
99
100
" dep:profiling" ,
101
+ " dep:raw-window-metal" ,
100
102
" dep:smallvec" ,
101
103
" dep:windows" ,
102
104
" windows/Win32" ,
@@ -274,6 +276,9 @@ core-graphics-types = { workspace = true, optional = true }
274
276
metal = { workspace = true , optional = true }
275
277
objc = { workspace = true , optional = true }
276
278
279
+ # backend: Metal + Vulkan
280
+ raw-window-metal = { workspace = true , optional = true }
281
+
277
282
# ########################
278
283
# ## Platform: Android ###
279
284
# ########################
0 commit comments