☰
Debian Codegraph
@
6.11.2+dfsg-5
6.10.2+dfsg-16
6.10.2+dfsg-15
/
/
tests
/
manual
/
rhi
/
multiview
/
multiview.frag
☽
☼
tests/manual/rhi/multiview/multiview.frag
code
plain
raw
BSD-3-clause
2016-2022 The Qt Company Ltd.
debian/copyright
1
#version 440
2
3
layout(location = 0) in vec3 v_color;
4
layout(location = 1) in flat uint v_viewIndex;
5
6
layout(location = 0) out vec4 fragColor;
7
8
void main()
9
{
10
fragColor = vec4(v_color + v_viewIndex * 0.5, 1.0);
11
}