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