RetroArch/gfx/drivers/vulkan_shaders/opaque.vert
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation.
2016-02-16 20:42:02 +01:00

16 lines
292 B
GLSL

#version 310 es
layout(location = 0) in vec4 Position;
layout(location = 1) in vec2 TexCoord;
layout(location = 0) out vec2 vTexCoord;
layout(std140, set = 0, binding = 0) uniform UBO
{
mat4 MVP;
} global;
void main()
{
gl_Position = global.MVP * Position;
vTexCoord = TexCoord;
}