File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ license = "MIT OR Apache-2.0"
1010default = [" wgpu" ]
1111wgpu = [" wgpu-executor" , " gpu" , " graphene-std/wgpu" ]
1212wayland = [" graphene-std/wayland" ]
13- profiling = [" wgpu-executor/profiling" ]
14- passthrough = [" wgpu-executor/passthrough" ]
1513gpu = [" interpreted-executor/gpu" , " graphene-std/gpu" , " wgpu-executor" ]
1614
1715[dependencies ]
Original file line number Diff line number Diff line change @@ -4,11 +4,6 @@ version = "0.1.0"
44edition = " 2024"
55license = " MIT OR Apache-2.0"
66
7- [features ]
8- default = []
9- profiling = []
10- passthrough = []
11-
127[dependencies ]
138# Local dependencies
149graphene-core = { workspace = true , features = [" wgpu" ] }
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments