• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1float4 main() : SV_Target {
2  int i = 1;
3  int1 i2 = 2;
4  int2 i3 = 3;
5  int3 i4 = 4;
6  int4 i5 = 5;
7
8  i = dot(i, i);
9  i2 = dot(i2, i2);
10  i3 = dot(i3, i3);
11  i4 = dot(i4, i4);
12  i5 = dot(i5, i5);
13  return i + i2.xxxx + i3.xyxy + i4.xyzx + i5;
14}