Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rparrett opened this issue Jan 3, 2024 · 0 comments · Fixed by #11191
Closed

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

rparrett opened this issue Jan 3, 2024 · 0 comments · Fixed by #11191
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Milestone

Comments

@rparrett
Copy link
Contributor

rparrett commented Jan 3, 2024

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.

@rparrett rparrett added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jan 3, 2024
@JMS55 JMS55 added A-Rendering Drawing game state to the screen and removed S-Needs-Triage This issue needs to be labelled labels Jan 3, 2024
@JMS55 JMS55 added this to the 0.13 milestone Jan 3, 2024
pcwalton added a commit to pcwalton/bevy that referenced this issue Jan 3, 2024
github-merge-queue bot pushed a commit that referenced this issue Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants