@@ -60,7 +60,7 @@ unexpected_cfgs = { level = "warn", check-cfg = [
6060# exclude the Vulkan backend on MacOS unless a separate feature `vulkan-portability` is enabled. In response
6161# to these features, it enables features of platform specific crates. For example, the `vulkan` feature in wgpu-core
6262# enables the `vulkan` feature in `wgpu-core-deps-windows-linux-android` which in turn enables the
63- # `vulkan` feature in `wgpu-hal` _only_ on those platforms. If you enable the `vulkan-portability` feature, it
63+ # `vulkan` feature in `wgpu-hal` _only_ on those platforms. If you enable the `vulkan-portability` feature, it
6464# will enable the `vulkan` feature in `wgpu-core-deps-apple`. The only way to do this is unfortunately to have
6565# a separate crate for each platform category that participates in the feature unification.
6666#
@@ -85,6 +85,7 @@ metal = [
8585 " dep:parking_lot" ,
8686 " dep:profiling" ,
8787 " dep:smallvec" ,
88+ " dep:raw-window-metal" ,
8889]
8990vulkan = [
9091 " naga/spv-out" ,
@@ -100,6 +101,7 @@ vulkan = [
100101 " dep:ordered-float" ,
101102 " dep:parking_lot" ,
102103 " dep:profiling" ,
104+ " dep:raw-window-metal" ,
103105 " dep:smallvec" ,
104106 " dep:windows" ,
105107 " gpu-allocator/vulkan" ,
@@ -284,6 +286,9 @@ core-graphics-types = { workspace = true, optional = true }
284286metal = { workspace = true , optional = true }
285287objc = { workspace = true , optional = true }
286288
289+ # backend: Metal + Vulkan
290+ raw-window-metal = { workspace = true , optional = true }
291+
287292# ########################
288293# ## Platform: Android ###
289294# ########################
0 commit comments