• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1float main(): SV_Target0
2{
3    int d = 4;
4    int2 d2 = int2(5,d);
5    float  f1 = log2(5);
6    float2 f2 = log(d2);
7    float3 f3 = log(int3(7,2,3));
8    float2 f22 = log(int2(5,d));  // This case does not work yet, due to a different bug that turns this into 2 args.
9
10    int a = 5;
11    min16float b = min16float(f16tof32(a));
12    b *= b;
13    uint c = f32tof16(b);
14
15    return f1 + f2.x + f3.z + f22.y + c;
16}