1 2out vec4 sk_FragColor; 3uniform int value; 4void main() { 5 vec4 _0_result = vec4(1.0); 6 switch (value) { 7 case 0: 8 _0_result = vec4(0.5); 9 } 10 sk_FragColor = _0_result; 11} 12