1#version 400 2out vec4 sk_FragColor; 3void main() { 4 float x = -42.0; 5 sk_FragColor.x = (0.5 - sign(x) * (0.5 - fract(abs(x)))); 6} 7