#version 450 // Built twice by the ShaderVariantBuild test: as is, and with TINT_RED defined. layout(location = 0) out vec4 outColor; void main() { #if TINT_RED outColor = vec4(1.0, 0.0, 0.0, 1.0); #else outColor = vec4(0.0, 1.0, 0.0, 1.0); #endif }