-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generalize reuse #368
Generalize reuse #368
Conversation
This is great for fully minified shaders, but confusing when int test()
{
int one=1, two=2, three=one+two;
return three;
} becomes (with int test()
{
int one=1,two=2;
one+=two;
return one;
} should identifiers from the |
I think it would be best for renaming to stay independent from rewrites, so that |
That's a separate issue of
This is specifically where it's problematic: in large functions, reuse has the same obfuscating effect that renaming does for making debugging more difficult: looking through the tests for examples, "dlt" became "height", "specular" became "lightDir", "dir" became "camTarget", and so forth. Splitting |
No description provided.