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

Renaming: allow type-overloading #383

Open laurentlb opened 1 month ago

laurentlb commented 1 month ago

The three functions f can have the same name since the arguments types are different.

int f(int a) { ... }
int f(float a) { ... }
int f(vec3 a) { ... }

int g(out int a) { ... }
int g(const float a) { ... }