The following example seems not to compile correctly:
bool option = true;
// do something here
The comment will not be reached! If I put "if(true)" instead of "if(option)" the comment will be reached.
Sorry, I couldn't replicate this bug in a simple shader, so the error has to do with previous stuff, but still this shouldn't happen, right?
Has anybody experienced similar problems?