gfx-rs / naga

Universal shader translation in Rust

Home Page:https://github.com/gfx-rs/wgpu/tree/trunk/naga

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[glsl-in] Doesn't support commas in structure definitions

magcius opened this issue · comments

I have a structure like this:

struct LightScatteringParams {
    float BetaRay, BetaMie, HGg, DistanceMul, BlendCoeff;
    vec3 SunDirection, SunColor;
};

It is relatively easy to reformat it to support naga, but naga should support this.