Debian Codegraph @

tests/auto/gui/rhi/qrhi/data/simpletextured.frag

raw
1 #version 440
2
3 layout(location = 0) in vec2 uv;
4 layout(location = 0) out vec4 fragColor;
5
6 layout(binding = 0) uniform sampler2D tex;
7
8 void main()
9 {
10 vec4 c = texture(tex, uv);
11 c.rgb *= c.a;
12 fragColor = c;
13 }