mixin MaskInput { code { #ifndef MSAA_COUNT #define MSAA_COUNT 1 #endif #if MSAA_COUNT > 1 [internal] Texture2DMS gMaskTex; #else [internal] Texture2D gMaskTex; #endif }; };