Cody Northrop | 75db032 | 2015-05-28 11:27:16 -0600 | [diff] [blame] | 1 | /* |
2 | * Fragment shader for tri demo | ||||
3 | */ | ||||
4 | #version 140 | ||||
5 | #extension GL_ARB_separate_shader_objects : enable | ||||
6 | #extension GL_ARB_shading_language_420pack : enable | ||||
7 | layout (binding = 0) uniform sampler2D tex; | ||||
8 | layout (location = 0) in vec2 texcoord; | ||||
9 | layout (location = 0) out vec4 uFragColor; | ||||
10 | void main() { | ||||
11 | uFragColor = texture(tex, texcoord); | ||||
12 | } |