blob: 9915a6bdb8e425c86d1c4fda6f4e0378079583cb [file] [log] [blame]
Cody Northrop75db0322015-05-28 11:27:16 -06001/*
2 * Vertex shader used by tri demo.
3 */
4#version 140
5#extension GL_ARB_separate_shader_objects : enable
6#extension GL_ARB_shading_language_420pack : enable
7layout (location = 0) in vec4 pos;
8layout (location = 1) in vec2 attr;
Jeremy Hayes083f28d2015-06-18 16:21:56 -06009layout (location = 0) out vec2 texcoord;
Cody Northrop75db0322015-05-28 11:27:16 -060010void main() {
11 texcoord = attr;
12 gl_Position = pos;
13}