File tree Expand file tree Collapse file tree 3 files changed +0
-12
lines changed Expand file tree Collapse file tree 3 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ license = "MIT OR Apache-2.0"
10
10
default = [" wgpu" ]
11
11
wgpu = [" wgpu-executor" , " gpu" , " graphene-std/wgpu" ]
12
12
wayland = [" graphene-std/wayland" ]
13
- profiling = [" wgpu-executor/profiling" ]
14
- passthrough = [" wgpu-executor/passthrough" ]
15
13
gpu = [" interpreted-executor/gpu" , " graphene-std/gpu" , " wgpu-executor" ]
16
14
17
15
[dependencies ]
Original file line number Diff line number Diff line change @@ -4,11 +4,6 @@ version = "0.1.0"
4
4
edition = " 2024"
5
5
license = " MIT OR Apache-2.0"
6
6
7
- [features ]
8
- default = []
9
- profiling = []
10
- passthrough = []
11
-
12
7
[dependencies ]
13
8
# Local dependencies
14
9
graphene-core = { workspace = true , features = [" wgpu" ] }
Original file line number Diff line number Diff line change @@ -32,15 +32,10 @@ impl Context {
32
32
let ( device, queue) = adapter
33
33
. request_device ( & wgpu:: DeviceDescriptor {
34
34
label : None ,
35
- // #[cfg(not(feature = "passthrough"))]
36
35
#[ cfg( target_family = "wasm" ) ]
37
36
required_features : wgpu:: Features :: empty ( ) ,
38
37
#[ cfg( not( target_family = "wasm" ) ) ]
39
38
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,
44
39
required_limits,
45
40
memory_hints : Default :: default ( ) ,
46
41
trace : wgpu:: Trace :: Off ,
You can’t perform that action at this time.
0 commit comments