Skip to content

Commit 148adc0

Browse files
committed
wgpu-executor: remove useless features
1 parent 23eb599 commit 148adc0

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

node-graph/graphene-cli/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ license = "MIT OR Apache-2.0"
1010
default = ["wgpu"]
1111
wgpu = ["wgpu-executor", "gpu", "graphene-std/wgpu"]
1212
wayland = ["graphene-std/wayland"]
13-
profiling = ["wgpu-executor/profiling"]
14-
passthrough = ["wgpu-executor/passthrough"]
1513
gpu = ["interpreted-executor/gpu", "graphene-std/gpu", "wgpu-executor"]
1614

1715
[dependencies]

node-graph/wgpu-executor/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ version = "0.1.0"
44
edition = "2024"
55
license = "MIT OR Apache-2.0"
66

7-
[features]
8-
default = []
9-
profiling = []
10-
passthrough = []
11-
127
[dependencies]
138
# Local dependencies
149
graphene-core = { workspace = true, features = ["wgpu"] }

node-graph/wgpu-executor/src/context.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,10 @@ impl Context {
3232
let (device, queue) = adapter
3333
.request_device(&wgpu::DeviceDescriptor {
3434
label: None,
35-
// #[cfg(not(feature = "passthrough"))]
3635
#[cfg(target_family = "wasm")]
3736
required_features: wgpu::Features::empty(),
3837
#[cfg(not(target_family = "wasm"))]
3938
required_features: wgpu::Features::PUSH_CONSTANTS,
40-
// Currently disabled because not all backend support passthrough.
41-
// TODO: reenable only when vulkan adapter is available
42-
// #[cfg(feature = "passthrough")]
43-
// required_features: wgpu::Features::SPIRV_SHADER_PASSTHROUGH,
4439
required_limits,
4540
memory_hints: Default::default(),
4641
trace: wgpu::Trace::Off,

0 commit comments

Comments
 (0)