summaryrefslogtreecommitdiffstats
path: root/tests/RenderScriptTests/PerfTest/res/raw/singletexfm.glsl
blob: 656961c5b2e5737ab9a33b13c5a1eed70bf5a1e5 (plain)
1
2
3
4
5
6
7
8
varying vec2 varTex0;

void main() {
   lowp vec3 col0 = texture2D(UNI_Tex0, varTex0).rgb;
   gl_FragColor.xyz = col0 * UNI_modulate.rgb;
   gl_FragColor.w = UNI_modulate.a;
}