| #version 100 |
| |
| precision mediump float; |
| precision mediump sampler2D; |
| uniform mediump vec4 uleftBorderColor_Stage1_c0_c0; |
| uniform mediump vec4 urightBorderColor_Stage1_c0_c0; |
| uniform highp vec4 uscale0_1_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 uscale2_3_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 uscale4_5_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 uscale6_7_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 uscale8_9_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 uscale10_11_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 ubias0_1_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 ubias2_3_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 ubias4_5_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 ubias6_7_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 ubias8_9_Stage1_c0_c0_c1_c0; |
| uniform highp vec4 ubias10_11_Stage1_c0_c0_c1_c0; |
| uniform mediump vec4 uthresholds1_7_Stage1_c0_c0_c1_c0; |
| uniform mediump vec4 uthresholds9_13_Stage1_c0_c0_c1_c0; |
| varying highp vec2 vTransformedCoords_0_Stage0; |
| varying mediump vec4 vcolor_Stage0; |
| mediump vec4 stage_Stage1_c0_c0_c0_c0(mediump vec4 _input) { |
| mediump vec4 _sample1099_c0_c0; |
| mediump float t = vTransformedCoords_0_Stage0.x + 9.999999747378752e-06; |
| _sample1099_c0_c0 = vec4(t, 1.0, 0.0, 0.0); |
| return _sample1099_c0_c0; |
| } |
| mediump vec4 stage_Stage1_c0_c0_c1_c0(mediump vec4 _input) { |
| mediump vec4 _sample1767_c0_c0; |
| mediump float t = _input.x; |
| highp vec4 scale, bias; |
| if (t < uthresholds1_7_Stage1_c0_c0_c1_c0.w) { |
| if (t < uthresholds1_7_Stage1_c0_c0_c1_c0.y) { |
| if (t < uthresholds1_7_Stage1_c0_c0_c1_c0.x) { |
| scale = uscale0_1_Stage1_c0_c0_c1_c0; |
| bias = ubias0_1_Stage1_c0_c0_c1_c0; |
| } else { |
| scale = uscale2_3_Stage1_c0_c0_c1_c0; |
| bias = ubias2_3_Stage1_c0_c0_c1_c0; |
| } |
| } else { |
| if (t < uthresholds1_7_Stage1_c0_c0_c1_c0.z) { |
| scale = uscale4_5_Stage1_c0_c0_c1_c0; |
| bias = ubias4_5_Stage1_c0_c0_c1_c0; |
| } else { |
| scale = uscale6_7_Stage1_c0_c0_c1_c0; |
| bias = ubias6_7_Stage1_c0_c0_c1_c0; |
| } |
| } |
| } else { |
| { |
| if (t < uthresholds9_13_Stage1_c0_c0_c1_c0.x) { |
| scale = uscale8_9_Stage1_c0_c0_c1_c0; |
| bias = ubias8_9_Stage1_c0_c0_c1_c0; |
| } else { |
| scale = uscale10_11_Stage1_c0_c0_c1_c0; |
| bias = ubias10_11_Stage1_c0_c0_c1_c0; |
| } |
| } |
| } |
| _sample1767_c0_c0 = t * scale + bias; |
| return _sample1767_c0_c0; |
| } |
| mediump vec4 stage_Stage1_c0_c0(mediump vec4 _input) { |
| mediump vec4 _sample1992; |
| mediump vec4 _sample1099_c0_c0; |
| _sample1099_c0_c0 = stage_Stage1_c0_c0_c0_c0(vec4(1.0)); |
| mediump vec4 t = _sample1099_c0_c0; |
| if (t.x < 0.0) { |
| _sample1992 = uleftBorderColor_Stage1_c0_c0; |
| } else if (t.x > 1.0) { |
| _sample1992 = urightBorderColor_Stage1_c0_c0; |
| } else { |
| mediump vec4 _sample1767_c0_c0; |
| _sample1767_c0_c0 = stage_Stage1_c0_c0_c1_c0(t); |
| _sample1992 = _sample1767_c0_c0; |
| } |
| return _sample1992; |
| } |
| void main() { |
| mediump vec4 output_Stage1; |
| { |
| mediump vec4 _sample1992; |
| _sample1992 = stage_Stage1_c0_c0(vec4(1.0, 1.0, 1.0, 1.0)); |
| output_Stage1 = _sample1992; |
| } |
| { |
| gl_FragColor = output_Stage1; |
| } |
| } |