mirror of
https://github.com/libretro/RetroArch
synced 2025-02-14 15:39:59 +00:00
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
15 lines
217 B
GLSL
15 lines
217 B
GLSL
#version 310 es
|
|
#extension GL_EXT_multiview : require
|
|
|
|
layout(std140, binding = 0) uniform MVPs
|
|
{
|
|
mat4 MVP[2];
|
|
};
|
|
|
|
layout(location = 0) in vec4 Position;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = MVP[gl_ViewIndex] * Position;
|
|
}
|