You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies for a not so helpful bug report, but perhaps you know what was changed in naga in 22.0 (or previous version).
I recreate my pipelines using on_uncaptured_error (hot reload), and quite often now I get following kinds of panics:
[2024-09-17T11:35:14Z ERROR wgpu_core::device::global] Device::create_shader_module error:
Shader validation error:
┌─ Combine shader:1:1
│
1 │
│
│
│ naga::Expression [42]
│ naga::Function [13]
thread 'main' panicked at C:\...\.cargo\registry\src\index.crates.io-6f17d22bba15001f\naga-22.1.0\src\span.rs:73:29:
byte index 4424 is out of bounds of ``
I don't think this should happen, because previously I just got the error nicely printed out and I could keep changing my shaders and running my hot-reloads.
Some errors don't cause this, others do.
The text was updated successfully, but these errors were encountered:
Apologies for a not so helpful bug report, but perhaps you know what was changed in naga in 22.0 (or previous version).
I recreate my pipelines using
on_uncaptured_error
(hot reload), and quite often now I get following kinds of panics:I don't think this should happen, because previously I just got the error nicely printed out and I could keep changing my shaders and running my hot-reloads.
Some errors don't cause this, others do.
The text was updated successfully, but these errors were encountered: