☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
shaders
/
vulkan
/
vert
/
multiview.nocompat.vk.vert
☽
☼
third_party/spirv-cross/shaders/vulkan/vert/multiview.nocompat.vk.vert
code
plain
raw
Apache-2.0
2012-2021, The Android Open Source Project; 2015-2021, Google LLC; 2017, Romain Guy
debian/copyright
1
#version 310 es
2
#extension GL_EXT_multiview : require
3
4
layout(std140, binding = 0) uniform MVPs
5
{
6
mat4 MVP[2];
7
};
8
9
layout(location = 0) in vec4 Position;
10
11
void main()
12
{
13
gl_Position = MVP[gl_ViewIndex] * Position;
14
}