SPIRV-Cross/reference/shaders/vulkan/vert/multiview.nocompat.vk.vert.vk
2017-08-15 13:28:16 +02:00

16 lines
241 B
Plaintext

#version 310 es
#extension GL_EXT_multiview : require
layout(set = 0, binding = 0, std140) uniform MVPs
{
mat4 MVP[2];
} _19;
layout(location = 0) in vec4 Position;
void main()
{
gl_Position = _19.MVP[gl_ViewIndex] * Position;
}