ash/examples/shader/texture/texture.vert
2016-12-26 00:50:08 +01:00

14 lines
279 B
GLSL

#version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
layout (location = 0) in vec4 pos;
layout (location = 1) in vec2 uv;
layout (location = 0) out vec2 o_uv;
void main() {
o_uv = uv;
gl_Position = pos;
}