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

Error in fallback_image example #8967

Closed
rparrett opened this issue Jun 27, 2023 · 0 comments · Fixed by #8968
Closed

Error in fallback_image example #8967

rparrett opened this issue Jun 27, 2023 · 0 comments · Fixed by #8968
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled

Comments

@rparrett
Copy link
Contributor

rparrett commented Jun 27, 2023

Bevy version

main, bisected to 10f5c92

Relevant system information

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

What you did

cargo run --example fallback_image

What went wrong

2023-06-27T16:29:16.162709Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: failed to build a valid final module: Type [36] 'FragmentInput' is invalid
   ┌─ shaders/fallback_image_test.wgsl:34:1
   │
34 │ struct FragmentInput {
   │ ^^^^^^^^^^^^^^^^^^^^^^ naga::Type [36]
   │
   = Structure types must have at least one member
@rparrett rparrett added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jun 27, 2023
github-merge-queue bot pushed a commit that referenced this issue Jun 27, 2023
# Objective

Fixes #8967 

## Solution

I think this example was just missed in #5703. I made the same sort of
changes to `fallback_image` that were made in other examples in that PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant