Open Sway007 opened 3 months ago
The precessor should be capable of the following task:
#include
#define
take the function-like macro expansion into account: #define saturate( a ) clamp( a, 0.0, 1.0 ) edge cases and issues processing should be coherent with the glsl 100 specification
take the function-like macro expansion into account:
#define saturate( a ) clamp( a, 0.0, 1.0 )
edge cases and issues processing should be coherent with the glsl 100 specification
#if
ifdef
ifndef
else
elif
endif
#if defined(XXX) && YYY > 1.0 || ZZZ == 2 ...... #elif ... ...... #endif
not necessarily implemented in preprocessor, maybe can be done with another more light way
The precessor should be capable of the following task:
#include
and#define
macro expansion#if
,ifdef
,ifndef
,else
,elif
,endif