yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

T. FoleyOverhaul the preprocessor (#1849)0389546b0

master
306 B7 linesraw
1//DIAGNOSTIC_TEST:SIMPLE:-E
2
3// Undefining a macro that is not defined within C/C++ is defined as *not* an error or a warning.
4// On checking with DXC/FXC they also have this behavior (ie they don't output anything)
5// It's arguable if Slang should match this behavior - at least it is a warning.
6
7#undef C