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

shader_material_2d example is broken on bevy main #10840

Closed
DGriffin91 opened this issue Dec 2, 2023 · 1 comment · Fixed by #10841
Closed

shader_material_2d example is broken on bevy main #10840

DGriffin91 opened this issue Dec 2, 2023 · 1 comment · Fixed by #10841
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples
Milestone

Comments

@DGriffin91
Copy link
Contributor

Bevy version b4c33da

If I run cargo run --example shader_material_2d I get:

Caused by:
    In Device::create_render_pipeline
      note: label = `transparent_mesh2d_pipeline`
    Error matching ShaderStages(FRAGMENT) shader requirements against the pipeline
    Shader global ResourceBinding { group: 1, binding: 1 } is not available in the layout pipeline layout
    Binding is missing from the pipeline layout
@DGriffin91 DGriffin91 added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Dec 2, 2023
@Davier
Copy link
Contributor

Davier commented Dec 2, 2023

Can reproduce, it seems that it was introduced in 4bf20e7
Fix is on the way

@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples and removed S-Needs-Triage This issue needs to be labelled labels Dec 2, 2023
@alice-i-cecile alice-i-cecile added this to the 0.13 milestone Dec 2, 2023
github-merge-queue bot pushed a commit that referenced this issue Dec 2, 2023
# Objective

Fix #10840 

## Solution

The material's binding group number was changed in #10485
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 C-Examples An addition or correction to our examples
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants