projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge remote branch 'origin/master' into glsl2
[mesa.git]
/
src
/
glsl
/
tests
/
condition-05.glsl
1
#version 120
2
/* PASS */
3
4
uniform bool a;
5
uniform int b;
6
7
void main()
8
{
9
float x;
10
11
x = (a) ? 2.0 : b;
12
gl_Position = vec4(x);
13
}