xref: /aosp_15_r20/external/skia/tests/sksl/errors/ModifiersInStruct.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Worker### Compilation failed:
2*c8dee2aaSAndroid Build Coastguard Worker
3*c8dee2aaSAndroid Build Coastguard Workererror: 7: type 'bool' does not support qualifier 'readonly'
4*c8dee2aaSAndroid Build Coastguard Worker    readonly bool f;
5*c8dee2aaSAndroid Build Coastguard Worker    ^^^^^^^^
6*c8dee2aaSAndroid Build Coastguard Workererror: 8: type 'bool' does not support qualifier 'writeonly'
7*c8dee2aaSAndroid Build Coastguard Worker    writeonly bool g;
8*c8dee2aaSAndroid Build Coastguard Worker    ^^^^^^^^^
9*c8dee2aaSAndroid Build Coastguard Workererror: 2: modifier 'const' is not permitted on a struct field
10*c8dee2aaSAndroid Build Coastguard Worker    const float a;
11*c8dee2aaSAndroid Build Coastguard Worker    ^^^^^^^^^^^^^
12*c8dee2aaSAndroid Build Coastguard Workererror: 3: modifier 'uniform' is not permitted on a struct field
13*c8dee2aaSAndroid Build Coastguard Worker    uniform int b;
14*c8dee2aaSAndroid Build Coastguard Worker    ^^^^^^^^^^^^^
15*c8dee2aaSAndroid Build Coastguard Workererror: 4: modifier 'flat' is not permitted on a struct field
16*c8dee2aaSAndroid Build Coastguard Worker    flat half4 c;
17*c8dee2aaSAndroid Build Coastguard Worker    ^^^^^^^^^^^^
18*c8dee2aaSAndroid Build Coastguard Workererror: 5: modifier 'noperspective' is not permitted on a struct field
19*c8dee2aaSAndroid Build Coastguard Worker    noperspective float4 d;
20*c8dee2aaSAndroid Build Coastguard Worker    ^^^^^^^^^^^^^^^^^^^^^^
21*c8dee2aaSAndroid Build Coastguard Workererror: 6: modifier 'inout' is not permitted on a struct field
22*c8dee2aaSAndroid Build Coastguard Worker    inout bool e;
23*c8dee2aaSAndroid Build Coastguard Worker    ^^^^^^^^^^^^
24*c8dee2aaSAndroid Build Coastguard Workererror: 9: modifier 'buffer' is not permitted on a struct field
25*c8dee2aaSAndroid Build Coastguard Worker    buffer int h;
26*c8dee2aaSAndroid Build Coastguard Worker    ^^^^^^^^^^^^
27*c8dee2aaSAndroid Build Coastguard Workererror: 10: modifier 'pixel_local' is not permitted on a struct field
28*c8dee2aaSAndroid Build Coastguard Worker    pixel_local float i;
29*c8dee2aaSAndroid Build Coastguard Worker    ^^^^^^^^^^^^^^^^^^^
30*c8dee2aaSAndroid Build Coastguard Worker9 errors
31