xref: /aosp_15_r20/external/skia/resources/sksl/errors/MatrixIndexOutOfRange.rts (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1void half3x3_neg1()            { half3x3 m;  half3   v = m[-1]; }
2void half3x3_0()               { half3x3 m;  half3   v = m[0]; }
3void half3x3_1()               { half3x3 m;  half3   v = m[1]; }
4void half3x3_2()               { half3x3 m;  half3   v = m[2]; }
5void half3x3_3()               { half3x3 m;  half3   v = m[3]; }
6void half3x3_4()               { half3x3 m;  half3   v = m[4]; }
7void half3x3_huge()            { half3x3 m;  half3   v = m[1000000000]; }
8
9void half3x3_neg1_constidx()   { half3x3 m;  const int INDEX = -1;         half3 v = m[INDEX]; }
10void half3x3_0_constidx()      { half3x3 m;  const int INDEX = 0;          half3 v = m[INDEX]; }
11void half3x3_1_constidx()      { half3x3 m;  const int INDEX = 1;          half3 v = m[INDEX]; }
12void half3x3_2_constidx()      { half3x3 m;  const int INDEX = 2;          half3 v = m[INDEX]; }
13void half3x3_3_constidx()      { half3x3 m;  const int INDEX = 3;          half3 v = m[INDEX]; }
14void half3x3_4_constidx()      { half3x3 m;  const int INDEX = 4;          half3 v = m[INDEX]; }
15void half3x3_huge_constidx()   { half3x3 m;  const int INDEX = 1000000000; half3 v = m[INDEX]; }
16
17/*%%*
18index -1 out of range for 'half3x3'
19index 3 out of range for 'half3x3'
20index 4 out of range for 'half3x3'
21index 1000000000 out of range for 'half3x3'
22index -1 out of range for 'half3x3'
23index 3 out of range for 'half3x3'
24index 4 out of range for 'half3x3'
25index 1000000000 out of range for 'half3x3'
26*%%*/
27