Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ name = "stencil-triangles"
test = true

[features]
default = ["wgsl"]
default = ["wgsl", "suballocation"]
# Apply run-time checks, even in release builds. These are in addition
# to the validation carried out at public APIs in all builds.
strict_asserts = ["wgc?/strict_asserts", "wgt/strict_asserts"]
Expand All @@ -99,6 +99,7 @@ angle = ["wgc/angle"]
webgl = ["hal", "wgc"]
vulkan-portability = ["wgc/vulkan"]
expose-ids = []
suballocation = ["hal/windows_rs"]

# wgpu-core is always available as an optional dependency, "wgc".
# Whenever wgpu-core is selected, we want the GLES backend and raw
Expand Down Expand Up @@ -142,7 +143,7 @@ hal = { workspace = true }
hal = { workspace = true, features = ["renderdoc"] }

[target.'cfg(windows)'.dependencies]
hal = { workspace = true, features = ["dxc_shader_compiler", "renderdoc", "windows_rs"] }
hal = { workspace = true, features = ["dxc_shader_compiler", "renderdoc"] }

[target.'cfg(target_arch = "wasm32")'.dependencies.hal]
workspace = true
Expand Down