Skip to content

Commit

Permalink
Fix dx12 feature not enabling wgpu-core
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Jan 19, 2025
1 parent 96bc309 commit a7ec47a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@ default = ["wgsl", "dx12", "metal", "vulkan", "gles", "webgpu"]
# --------------------------------------------------------------------

## Enables the DX12 backend on Windows.
dx12 = ["wgc?/dx12"]
dx12 = [
"wgc/dx12",
] # Dx12 doesn't do anything on non-windows wgpu-core & wgpu-hal, so we don't need a proxy crate here.

## Enables the Metal backend on macOS & iOS.
metal = ["wgpu-core-feature-conditional-vendor-apple/metal"]
metal = [
"wgpu-core-feature-conditional-vendor-apple/metal",
] # Metal doesn't do anything on non-Apple wgpu-core & wgpu-hal, but we already have a proxy crate for Apple platforms anyways.

## Enables the Vulkan backend on Windows, Linux, and Android.
##
Expand Down

0 comments on commit a7ec47a

Please sign in to comment.