Bug in preprocessing shaders in 4.1.0-alpha.25 preview release

It seems you now pre-process shaders before sending them to the card (driver)?
There’s a bug there, something like:

#define XXX 1
#if XXX < 4

is not processed correctly: it’s code2 that is outputed, not code1.

Can you repro in the Playground? I’ll try to fix that asap


The cube should be red / white, it is all black instead.

Whatever the test here:

#if 1 < 2

you always end up in the #else branching.

will fix that!