2016-12-11 07:30:51 +11:00
|
|
|
#version 450
|
2016-12-09 11:11:26 +11:00
|
|
|
#extension GL_ARB_separate_shader_objects : enable
|
|
|
|
#extension GL_ARB_shading_language_420pack : enable
|
|
|
|
|
|
|
|
layout (location = 0) in vec4 pos;
|
|
|
|
layout (location = 1) in vec4 color;
|
|
|
|
|
|
|
|
|
|
|
|
layout (location = 0) out vec4 o_color;
|
|
|
|
void main() {
|
|
|
|
o_color = color;
|
|
|
|
gl_Position = pos;
|
|
|
|
}
|