16 lines
241 B
Plaintext
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;
|
|
}
|
|
|