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