Skip to content

many_foxes, animated_fox, split_screen examples panic with shader error #11190

@rparrett

Description

@rparrett

Bevy version

main, since #10231

Relevant system information

AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
SystemInfo { os: "MacOS 13.6.2 ", kernel: "22.6.0", cpu: "", core_count: "10", memory: "64.0 GiB" }

But also in CI on windows/linux (https://thebevyflock.github.io/bevy-example-runner/), though linux is showing a different and strange error there.

What you did

cargo run --example animated_fox

What went wrong

thread 'Compute Task Pool (1)' panicked at /Users/robparrett/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.18.0/src/backend/direct.rs:3111:5:
wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `pbr_prepass_pipeline`
    Error matching ShaderStages(VERTEX) shader requirements against the pipeline
    Location[5] Uint32x4 interpolated as Some(Flat) with sampling None is not provided by the previous stage outputs
    Input type is not compatible with the provided Float32x4

Additional information

Noticed by @AxiomaticSemantics in Discord.

Other examples may also be affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions