1 2struct foo_t { 3 float float; 4}; 5 6float fn(float float) { return float; } 7 8float4 main() : SV_Target0 9{ 10 float float = 7; 11 bool bool[2] = { float, float }; 12 int int = bool[1]; 13 uint uint = float + int; 14 min16float min16float = uint; 15 min10float min10float = min16float; 16 half half = 0.5; 17 18 { 19 foo_t float; 20 float.float = 42; 21 } 22 23 bool[0] = bool[1]; 24 25 float = float + int + uint + min16float + min10float + (bool[0] ? int : float) + fn(float); 26 27 half2x3 half2x3; 28 half2x3._11 = (float) * float; 29 30 return float + half2x3._11; 31} 32