Open ThousandthStar opened 1 year ago
Useful to know. Does this fail on main
as well for you?
It fails on main
as well.
works for me on macOS 12.5
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
Could be due to the old macOS version, or the intel graphics. Given the error messages, it seems the shaders are trying to use functions not available, so I would say it's the macOS version
To isolate this further, I'd suggest testing this upstream, on the wgpu
examples.
The user noted on Discord that they did test wgpu examples. However, looking at the error message, it looks like a dot product has to be used and the examples may not do that.
@cwfitzgerald ping for wgpu support on old macOS.
I just tested the remaining wgpu examples (had only tested cube
).
They all work fine, except conservative-raster
, which gives this error:
`thread 'main' panicked at 'Adapter does not support required features for this example: CONSERVATIVE_RASTERIZATION', wgpu/examples/conservative-raster/../framework.rs:195:5`
That has to with my Adapter, and not my macOS version. Please let me know if I should try some other things.
EDIT: Looking at bevy_render
dependencies,bevy-0.8.1
uses wgpu
version 0.13.1 . bevy-0.7
uses version 0.12 .
Bevy
0.8.1
Relevant system information
1.67.0-nightly (7e484fc1a 2022-10-27)
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
You should also consider testing the examples of our upstream dependencies to help isolate any setup-specific issue:
What you did
cargo run --example 3d_shapes
What went wrong
The app starts up then instantly crashes
Additional information
3D works with Bevy 0.7, but not 0.8 and after.
Logs