bevyengine/naga_oil

Composable module identifiers error

Bcompartment opened this issue · 1 comments

Bevy version : 0.12.1

With new update my old wgsl shader code in broaken:

struct Poly6 {
  c0:vec3<f32>,
  c1:vec3<f32>,
  c2:vec3<f32>,
  c3:vec3<f32>,
  c4:vec3<f32>,
  c5:vec3<f32>,
  c6:vec3<f32>,

}

Error message:

**error: Composable module identifiers must not require substitution according to naga writeback rules:  c0**

Screenshot_266

robtfm commented

you found the related issue - unfortunately you still can't have struct member names that end with numbers.