laurentlb / shader-minifier

Minify and obfuscate GLSL or HLSL code
https://ctrl-alt-test.fr/minifier/
Apache License 2.0
424 stars 29 forks source link

Structs: allow field names that look like vec4 fields in some cases #393

Open laurentlb opened 1 month ago

laurentlb commented 1 month ago

e.g. we can rename ab to wz in struct Foo{int ab;}

therontarigo commented 1 month ago

It's a good idea, but encouraging this kind of naming on the input side can lead to further issues, such as #395