-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior
Milestone
Description
Bevy version
first bad commit is c3a4682
Relevant system information
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
SystemInfo { os: "MacOS 13.1 ", kernel: "22.2.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }
What you did
cargo run --example shader_prepass- press space bar
What went wrong
Depth information in grayscale should be shown, but it's just a black screen.
There's some error output:
2023-01-26T21:15:17.623605Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: expected constant, found '#'
┌─ wgsl:38:41
│
38 │ cascades: array<DirectionalCascade, #{MAX_CASCADES_PER_LIGHT}>,
│ ^ expected constant
2023-01-26T21:15:17.842460Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: expected constant, found '#'
┌─ wgsl:38:41
│
38 │ cascades: array<DirectionalCascade, #{MAX_CASCADES_PER_LIGHT}>,
│ ^ expected constant
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior