repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
canvas
/
webgl
/
resources
/
boolUniformShader.vert
blob
c0b03ce1abfc3995d8411a685e10de60d3874976
1
uniform bool bval;
2
uniform bvec2 bval2;
3
uniform bvec3 bval3;
4
uniform bvec4 bval4;
5
6
void main()
7
{
8
bool allSet = bval
9
&& bval2[0] && bval2[1]
10
&& bval3[0] && bval3[1] && bval3[2]
11
&& bval4[0] && bval4[1] && bval4[2] && bval4[3];
12
gl_Position = vec4((allSet ? 1.0 : -1.0), 0.0, 0.0, 1.0);
13
}