1 2float4 main() : SV_Target0 3{ 4 half h0 = 0; 5 half1 h1 = 1; 6 half2 h2 = 2; 7 half3 h3 = 3; 8 half4 h4 = 4; 9 10 half1x1 h11; 11 half1x2 h12; 12 half1x3 h13; 13 half1x4 h14; 14 half2x1 h21; 15 half2x2 h22 = half2x2(1,2,3,4); 16 half2x3 h23 = (half2x3)4.9; 17 half2x4 h24; 18 half3x1 h31; 19 half3x2 h32; 20 half3x3 h33; 21 half3x4 h34; 22 half4x1 h41; 23 half4x2 h42; 24 half4x3 h43; 25 half4x4 h44; 26 27 return h23._11 + h4.y + h0; 28} 29