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
/
intUniformShader.vert
blob
eaa2a592eb663a8e03e80111c7237ed0869151b1
1
uniform int ival;
2
uniform ivec2 ival2;
3
uniform ivec3 ival3;
4
uniform ivec4 ival4;
5
6
void main()
7
{
8
int sum = ival
9
+ ival2[0] + ival2[1]
10
+ ival3[0] + ival3[1] + ival3[2]
11
+ ival4[0] + ival4[1] + ival4[2] + ival4[3];
12
gl_Position = vec4(sum, 0.0, 0.0, 1.0);
13
}