xref: /aosp_15_r20/external/skia/resources/sksl/errors/ModifiersInStruct.rts (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1struct S {
2    const float a;
3    uniform int b;
4    flat half4 c;
5    noperspective float4 d;
6    inout bool e;
7    readonly bool f;
8    writeonly bool g;
9    buffer int h;
10    pixel_local float i;
11};
12
13/*%%*
14type 'bool' does not support qualifier 'readonly'
15type 'bool' does not support qualifier 'writeonly'
16modifier 'const' is not permitted on a struct field
17modifier 'uniform' is not permitted on a struct field
18modifier 'flat' is not permitted on a struct field
19modifier 'noperspective' is not permitted on a struct field
20modifier 'inout' is not permitted on a struct field
21modifier 'buffer' is not permitted on a struct field
22modifier 'pixel_local' is not permitted on a struct field
23*%%*/
24