blob: 9915a6bdb8e425c86d1c4fda6f4e0378079583cb [file] [log] [blame]
/*
* Vertex shader used by tri demo.
*/
#version 140
#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 attr;
layout (location = 0) out vec2 texcoord;
void main() {
texcoord = attr;
gl_Position = pos;
}