summaryrefslogblamecommitdiff
path: root/src/modules/evas/engines/gl_common/shader/rect_mask_frag.shd
blob: e278ea63e790a58fe87eb6e29c3cc83db9cf13b6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                      
#ifdef GL_ES
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
#endif
uniform sampler2D texm;
varying vec4 col;
varying vec4 coord_m;
void main()
{
   gl_FragColor = texture2D(texm, coord_m.xy).a * col;
}