@@ -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
#
@@ -83,6 +83,7 @@ metal = [
83
83
" dep:objc" ,
84
84
" dep:parking_lot" ,
85
85
" dep:profiling" ,
86
+ " dep:raw-window-metal" ,
86
87
]
87
88
vulkan = [
88
89
" naga/spv-out" ,
@@ -99,6 +100,7 @@ vulkan = [
99
100
" dep:ordered-float" ,
100
101
" dep:parking_lot" ,
101
102
" dep:profiling" ,
103
+ " dep:raw-window-metal" ,
102
104
" dep:smallvec" ,
103
105
" dep:windows" ,
104
106
" windows/Win32" ,
@@ -279,6 +281,9 @@ core-graphics-types = { workspace = true, optional = true }
279
281
metal = { workspace = true , optional = true }
280
282
objc = { workspace = true , optional = true }
281
283
284
+ # backend: Metal + Vulkan
285
+ raw-window-metal = { workspace = true , optional = true }
286
+
282
287
# ########################
283
288
# ## Platform: Android ###
284
289
# ########################
0 commit comments