repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
glx-multithread-texture: Avoid front-buffer rendering.
[piglit.git]
/
tests
/
shaders
/
glsl-explicit-location-03a.vert
blob
8092c4cec2489b63198272b42e57849024f2ace2
1
#extension GL_ARB_explicit_attrib_location: require
2
3
layout(location = 0) in vec4 vertex;
4
layout(location = 1) in vec3 color;
5
6
vec3 function(void);
7
8
void main()
9
{
10
gl_Position = vertex;
11
gl_FrontColor = vec4(color + function(), 1.0);
12
}