Shader_Minifier
Shader_Minifier copied to clipboard
Variable inlining with reassignment
trafficstars
Input:
float foo(float x) {
float color = 0.;
color=2.;
return color/4.;
}
Current output:
float foo(float x)
{
x=2.;
return x/4.;
}