Shader_Minifier icon indicating copy to clipboard operation
Shader_Minifier copied to clipboard

Renaming: allow type-overloading

Open laurentlb opened this issue 9 months ago • 0 comments

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) { ... }

laurentlb avatar May 09 '24 13:05 laurentlb