Open deanm opened 7 years ago
Thanks for the report, seems to be caused triggered when the field access name is the same as the macro argument
#define CLAMP01(cat) clamp(cat, 0.0, 1.0)
float x = CLAMP01(a.y - b.cat);
now if we do anything except b.cat
it will process correctly
Compiles fine, but:
Results in a syntax error