☰
Debian Codegraph
@
5.15.19+dfsg-4
5.15.19+dfsg-3
5.15.17+dfsg-8
/
/
tests
/
auto
/
gui
/
rhi
/
qrhi
/
data
/
simpletextured.frag
☽
☼
tests/auto/gui/rhi/qrhi/data/simpletextured.frag
code
plain
raw
GPL-3
with Qt-1.0 exception
2016-2021 The Qt Company Ltd.
debian/copyright
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
}