projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge commit 'origin/gallium-master-merge'
[mesa.git]
/
progs
/
vpglsl
/
nestedswizzle.glsl
1
2
void main() {
3
gl_Position = gl_Vertex;
4
gl_FrontColor = gl_Color;
5
if (gl_Position.x < 0.5) {
6
gl_FrontColor.y = 1.0;
7
}
8
gl_FrontColor.xzw = vec3(0, 0, 1);
9
}