summaryrefslogtreecommitdiff
path: root/shaders/weston/5.frag
blob: 1d1b4ff09be1459fc7b110497baf1d2a826a522a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifdef GL_ES
precision mediump float;
#endif
uniform sampler2D source_sampler;
uniform vec2 source_texdims;
varying vec2 source_texcoords;
vec4 get_source()
{
    return texture2D (source_sampler, source_texcoords);
}
vec4 get_mask()
{
    return vec4 (0, 0, 0, 1);
}
void main()
{
    gl_FragColor = get_source() * get_mask().a;
}