1void half4_neg1() { half4 h; half v = h[-1]; } 2void half4_0() { half4 h; half v = h[0]; } 3void half4_1() { half4 h; half v = h[1]; } 4void half4_2() { half4 h; half v = h[2]; } 5void half4_3() { half4 h; half v = h[3]; } 6void half4_4() { half4 h; half v = h[4]; } 7void half4_huge() { half4 h; half v = h[1000000000]; } 8 9void half3_neg1() { half3 h; half v = h[-1]; } 10void half3_0() { half3 h; half v = h[0]; } 11void half3_1() { half3 h; half v = h[1]; } 12void half3_2() { half3 h; half v = h[2]; } 13void half3_3() { half3 h; half v = h[3]; } 14void half3_4() { half3 h; half v = h[4]; } 15void half3_huge() { half3 h; half v = h[1000000000]; } 16 17void half2_neg1() { half2 h; half v = h[-1]; } 18void half2_0() { half2 h; half v = h[0]; } 19void half2_1() { half2 h; half v = h[1]; } 20void half2_2() { half2 h; half v = h[2]; } 21void half2_3() { half2 h; half v = h[3]; } 22void half2_4() { half2 h; half v = h[4]; } 23void half2_huge() { half2 h; half v = h[1000000000]; } 24 25void half2_neg1_constidx() { half2 h; const int INDEX = -1; half v = h[INDEX]; } 26void half2_0_constidx() { half2 h; const int INDEX = 0; half v = h[INDEX]; } 27void half2_1_constidx() { half2 h; const int INDEX = 1; half v = h[INDEX]; } 28void half2_2_constidx() { half2 h; const int INDEX = 2; half v = h[INDEX]; } 29void half2_huge_constidx() { half2 h; const int INDEX = 1000000000; half v = h[INDEX]; } 30 31void half3_neg1_constidx() { half3 h; const int INDEX = -1; half v = h[INDEX]; } 32void half3_0_constidx() { half3 h; const int INDEX = 0; half v = h[INDEX]; } 33void half3_1_constidx() { half3 h; const int INDEX = 1; half v = h[INDEX]; } 34void half3_2_constidx() { half3 h; const int INDEX = 2; half v = h[INDEX]; } 35void half3_3_constidx() { half3 h; const int INDEX = 3; half v = h[INDEX]; } 36void half3_huge_constidx() { half3 h; const int INDEX = 1000000000; half v = h[INDEX]; } 37 38void half4_neg1_constidx() { half4 h; const int INDEX = -1; half v = h[INDEX]; } 39void half4_0_constidx() { half4 h; const int INDEX = 0; half v = h[INDEX]; } 40void half4_1_constidx() { half4 h; const int INDEX = 1; half v = h[INDEX]; } 41void half4_2_constidx() { half4 h; const int INDEX = 2; half v = h[INDEX]; } 42void half4_3_constidx() { half4 h; const int INDEX = 3; half v = h[INDEX]; } 43void half4_4_constidx() { half4 h; const int INDEX = 4; half v = h[INDEX]; } 44void half4_huge_constidx() { half4 h; const int INDEX = 1000000000; half v = h[INDEX]; } 45 46/*%%* 47index -1 out of range for 'half4' 48index 4 out of range for 'half4' 49index 1000000000 out of range for 'half4' 50index -1 out of range for 'half3' 51index 3 out of range for 'half3' 52index 4 out of range for 'half3' 53index 1000000000 out of range for 'half3' 54index -1 out of range for 'half2' 55index 2 out of range for 'half2' 56index 3 out of range for 'half2' 57index 4 out of range for 'half2' 58index 1000000000 out of range for 'half2' 59index -1 out of range for 'half2' 60index 2 out of range for 'half2' 61index 1000000000 out of range for 'half2' 62index -1 out of range for 'half3' 63index 3 out of range for 'half3' 64index 1000000000 out of range for 'half3' 65index -1 out of range for 'half4' 66index 4 out of range for 'half4' 67index 1000000000 out of range for 'half4' 68*%%*/ 69