OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
progs/vp: Correct the PARAM array sizes in arl-*.txt
[android-x86/external-mesa.git]
/
progs
/
vpglsl
/
ifelse.glsl
1
2
void main() {
3
gl_Position = gl_Vertex;
4
if (gl_Position.x < 0.5)
5
gl_FrontColor = vec4(1.0, 0.0, 0.0, 1.0);
6
else
7
gl_FrontColor = gl_Color;
8
}