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.
This commit is contained in:
Benjamin Brienen 2024-10-13 19:25:27 +02:00 committed by GitHub
parent 5989a845f0
commit 37501e1c21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,7 @@ shader_format_glsl = ["naga/glsl-in", "naga/wgsl-out", "naga_oil/glsl"]
shader_format_spirv = ["wgpu/spirv", "naga/spv-in", "naga/spv-out"]
# Enable SPIR-V shader passthrough
spirv_shader_passthrough = []
spirv_shader_passthrough = ["wgpu/spirv"]
trace = ["profiling"]
tracing-tracy = []