Shader_Minifier
Shader_Minifier copied to clipboard
Remove unused reassignments
void foo(float arg) {
float x=arg;
x*=x*x*x*x;
return vec3(0);
}
We should detect that the value of x
is unused.