• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1void f23() { float2x3 x; }
2void f24() { float2x4 x; }
3void f32() { float3x2 x; }
4void f34() { float3x4 x; }
5void f42() { float4x2 x; }
6void f43() { float4x3 x; }
7
8void h23() { half2x3 x; }
9void h24() { half2x4 x; }
10void h32() { half3x2 x; }
11void h34() { half3x4 x; }
12void h42() { half4x2 x; }
13void h43() { half4x3 x; }
14
15void u()   { uint x; }
16void u2()  { uint2 x; }
17void u3()  { uint3 x; }
18void u4()  { uint4 x; }
19
20void us()  { ushort x; }
21void us2() { ushort2 x; }
22void us3() { ushort3 x; }
23void us4() { ushort4 x; }
24
25void au4()  { uint4 x[2]; }
26void aus()  { ushort x[2]; }
27void af23() { float2x3 x[2]; }
28
29struct Sh42 { half4x2 x; };
30struct Sus  { ushort x; };
31struct Sau  { uint x[2]; };
32
33void ctor_f23() { float2x3(0); }
34void ctor_h42() { half4x2(0); }
35void ctor_u()   { uint(0); }
36void ctor_us4() { ushort4(0); }
37void ctor_aus() { ushort[2](0, 0); }
38
39void access_f23() { float2x3 var; var[0][0]; }
40void access_h42() { half4x2 var; var[0][0]; }
41void access_u()   { uint var; var.x; }
42void access_us4() { ushort4 var; var.x; }
43void access_aus() { ushort var[2]; var[0].x; }
44
45/*%%*
46type 'float2x3' is not supported
47type 'float2x4' is not supported
48type 'float3x2' is not supported
49type 'float3x4' is not supported
50type 'float4x2' is not supported
51type 'float4x3' is not supported
52type 'half2x3' is not supported
53type 'half2x4' is not supported
54type 'half3x2' is not supported
55type 'half3x4' is not supported
56type 'half4x2' is not supported
57type 'half4x3' is not supported
58type 'uint' is not supported
59type 'uint2' is not supported
60type 'uint3' is not supported
61type 'uint4' is not supported
62type 'ushort' is not supported
63type 'ushort2' is not supported
64type 'ushort3' is not supported
65type 'ushort4' is not supported
66type 'uint4' is not supported
67type 'ushort' is not supported
68type 'float2x3' is not supported
69type 'half4x2' is not supported
70type 'ushort' is not supported
71type 'uint' is not supported
72type 'float2x3' is not supported
73type 'half4x2' is not supported
74type 'uint' is not supported
75type 'ushort4' is not supported
76type 'ushort' is not supported
77type 'float2x3' is not supported
78type 'half4x2' is not supported
79type 'uint' is not supported
80type 'ushort4' is not supported
81type 'ushort' is not supported
82*%%*/
83