bevy-hikari
bevy-hikari copied to clipboard
Running `simple` example on M1: "metal requires all arrays be constant sized" (naga 0.9 error)
(May be related to #11? Not sure)
thread 'main' panicked at 'internal error: entered unreachable code: metal requires all arrays be constant sized', /Users/ivan/.cargo/registry/src/github.com-1ecc6299db9ec823/naga-0.9.0/src/back/msl/writer.rs:235:21
15: 0x1033378d8 - core::panicking::unreachable_display::h9fe587038728a68b
16: 0x103338938 - <naga::back::msl::writer::TypeContext as core::fmt::Display>::fmt::h830f7fce5b7d1939
18: 0x103338db0 - naga::back::msl::writer::TypedGlobalVariable::try_fmt::he6647d568d76e87b
19: 0x103346afc - naga::back::msl::writer::Writer<W>::write_functions::hb2fcf614440db836
20: 0x103344b40 - naga::back::msl::writer::Writer<W>::write::hbf0c1c30c083a2be
21: 0x1033dae84 - naga::back::msl::write_string::h48019c2e606a918a
22: 0x103308f60 - wgpu_hal::metal::device::<impl wgpu_hal::metal::Device>::load_shader::h06204f483b121b6c
23: 0x10330cdcc - wgpu_hal::metal::device::<impl wgpu_hal::Device<wgpu_hal::metal::Api> for wgpu_hal::metal::Device>::create_compute_pipeline::hd744e8db82390d76
24: 0x1032ca094 - wgpu_core::device::Device<A>::create_compute_pipeline::h0e0b9a7aa36ce61b
25: 0x1032558c0 - wgpu_core::device::<impl wgpu_core::hub::Global<G>>::device_create_compute_pipeline::h1eecbb8c46938a60
26: 0x1032dda20 - <wgpu::backend::direct::Context as wgpu::Context>::device_create_compute_pipeline::hd73131fee9b7c4cf
27: 0x1032a1b7c - wgpu::Device::create_compute_pipeline::hdde1293e61f9ab4b
28: 0x10315330c - bevy_render::render_resource::pipeline_cache::PipelineCache::process_queue::h2895d4c6fa89eb85
29: 0x103125e00 -
Yes, this is the same problem.
Having the same issue on M2 Pro on simple
scene.
Only minimal scene works for me :(
PS I've tested older versions on my PC and it looked fantastic!