Skip to content

Commit 37501e1

Browse files
spirv_shader_passthrough must enable wgpu/spirv (#15873)
# Objective Fixes #15515 ## Solution I went for the simplest solution because "format" in `shader_format_spirv` didn't sound directly related. ## Testing The command `cargo b -p bevy --no-default-features -F spirv_shader_passthrough,x11` failed before, but works now.
1 parent 5989a84 commit 37501e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_render/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ shader_format_glsl = ["naga/glsl-in", "naga/wgsl-out", "naga_oil/glsl"]
2222
shader_format_spirv = ["wgpu/spirv", "naga/spv-in", "naga/spv-out"]
2323

2424
# Enable SPIR-V shader passthrough
25-
spirv_shader_passthrough = []
25+
spirv_shader_passthrough = ["wgpu/spirv"]
2626

2727
trace = ["profiling"]
2828
tracing-tracy = []

0 commit comments

Comments
 (0)