mediump vec4 xlat_main( in highp vec4 uv ); mediump vec4 xlat_main( in highp vec4 uv ) { mediump vec4 c; c = vec4( 0.000000); c += ( (uv.x > 0.500000) ) ? ( 0.900000 ) : ( 0.100000 ); c += ( (uv.x > 0.500000) ) ? ( highp vec4( 0.900000, 0.900000, 0.900000, 0.900000) ) : ( highp vec4( 0.100000, 0.100000, 0.100000, 0.100000) ); c.xyz += ( (uv.x > 0.500000) ) ? ( highp vec3( 0.900000, 0.900000, 0.900000) ) : ( highp vec3( 0.100000, 0.100000, 0.100000) ); c.xy += ( (uv.x > 0.500000) ) ? ( highp vec2( 0.900000, 0.900000) ) : ( highp vec2( 0.100000, 0.100000) ); c.x += ( bool( fract( uv.x ) ) ) ? ( 0.900000 ) : ( 0.100000 ); return c; } varying highp vec4 xlv_TEXCOORD0; void main() { mediump vec4 xl_retval; xl_retval = xlat_main( highp vec4(xlv_TEXCOORD0)); gl_FragData[0] = mediump vec4( xl_retval); }