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

macos rendering fails: arrays must have constant size #11283

Closed
mockersf opened this issue Jan 10, 2024 · 0 comments · Fixed by #11307
Closed

macos rendering fails: arrays must have constant size #11283

mockersf opened this issue Jan 10, 2024 · 0 comments · Fixed by #11307
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior O-MacOS Specific to the MacOS (Apple) desktop operating system P-Regression Functionality that used to work but no longer does. Add a test for this!
Milestone

Comments

@mockersf
Copy link
Member

mockersf commented Jan 10, 2024

Bevy version

main since #10057

[Optional] Relevant system information

on a mac m1:

AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }

What you did

cargo run --example load_gltf

What went wrong

Crash with the following error:

thread 'Compute Task Pool (2)' panicked at .cargo/registry/src/index.crates.io-6f17d22bba15001f/naga-0.14.2/src/back/msl/writer.rs:229:21:
internal error: entered unreachable code: metal requires all arrays be constant sized
@mockersf mockersf added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen O-MacOS Specific to the MacOS (Apple) desktop operating system P-Regression Functionality that used to work but no longer does. Add a test for this! labels Jan 10, 2024
@mockersf mockersf added this to the 0.13 milestone Jan 10, 2024
github-merge-queue bot pushed a commit that referenced this issue Jan 12, 2024
# Objective

- Fix working on macOS, iOS, Android on main 
- Fixes #11281 
- Fixes #11282 
- Fixes #11283 
- Fixes #11299

## Solution

- Revert #10057
Ixentus pushed a commit to Ixentus/bevy that referenced this issue Jan 12, 2024
…yengine#11307)

# Objective

- Fix working on macOS, iOS, Android on main 
- Fixes bevyengine#11281 
- Fixes bevyengine#11282 
- Fixes bevyengine#11283 
- Fixes bevyengine#11299

## Solution

- Revert bevyengine#10057
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 O-MacOS Specific to the MacOS (Apple) desktop operating system P-Regression Functionality that used to work but no longer does. Add a test for this!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant