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
/
hlsl.int.dot.frag
1
float4 main() : SV_Target {
\r
2
int i = 1;
\r
3
int1 i2 = 2;
\r
4
int2 i3 = 3;
\r
5
int3 i4 = 4;
\r
6
int4 i5 = 5;
\r
7
\r
8
i = dot(i, i);
\r
9
i2 = dot(i2, i2);
\r
10
i3 = dot(i3, i3);
\r
11
i4 = dot(i4, i4);
\r
12
i5 = dot(i5, i5);
\r
13
return i + i2.xxxx + i3.xyxy + i4.xyzx + i5;
\r
14
}