glslx icon indicating copy to clipboard operation
glslx copied to clipboard

Add compiler option for ignoring specific symbols

Open uki-dev opened this issue 3 years ago • 2 comments

It is essential to have the ability to preserve certain symbols from renaming when pairing GLSLX with external frameworks in which specific symbols are static.

This is addressed by adding an additional variable ignoredSymbols List<string> to CompilerOptions which is checked against when renaming symbols & generating new symbol names.

Ignored symbols can be passed via the command line using the --ignored-symbols argument which accepts a JSON formatted array for example; --ignored-symbols='["foo", "bar"]'

uki-dev avatar Dec 01 '21 20:12 uki-dev

@evanw pinging as unable to assign you as a reviewer.

uki-dev avatar Dec 02 '21 00:12 uki-dev

@evanw any chance to get your eyes on this and some feedback on how to improve/change to get this merged, please?

joscha avatar Mar 09 '22 23:03 joscha