projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2913 from greg-lunarg/i2905
[platform/upstream/glslang.git]
/
Test
/
whileLoop.frag
1
#version 110
\r
2
\r
3
uniform vec4 bigColor;
\r
4
varying vec4 BaseColor;
\r
5
uniform float d;
\r
6
\r
7
void main()
\r
8
{
\r
9
vec4 color = BaseColor;
\r
10
\r
11
while (color.x < d) {
\r
12
color += bigColor;
\r
13
}
\r
14
\r
15
gl_FragColor = color;
\r
16
}
\r