xref: /aosp_15_r20/external/skia/tests/sksl/shared/InterpolantIn.skrp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Worker### Compilation failed:
2*c8dee2aaSAndroid Build Coastguard Worker
3*c8dee2aaSAndroid Build Coastguard Workererror: 1: 'in' is not permitted here
4*c8dee2aaSAndroid Build Coastguard Workerlayout(location=0) in float defaultVarying;
5*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^
6*c8dee2aaSAndroid Build Coastguard Workererror: 1: layout qualifier 'location' is not permitted here
7*c8dee2aaSAndroid Build Coastguard Workerlayout(location=0) in float defaultVarying;
8*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^
9*c8dee2aaSAndroid Build Coastguard Workererror: 2: 'in' is not permitted here
10*c8dee2aaSAndroid Build Coastguard Workerlayout(location=1) in noperspective float linearVarying;
11*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12*c8dee2aaSAndroid Build Coastguard Workererror: 2: 'noperspective' is not permitted here
13*c8dee2aaSAndroid Build Coastguard Workerlayout(location=1) in noperspective float linearVarying;
14*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15*c8dee2aaSAndroid Build Coastguard Workererror: 2: layout qualifier 'location' is not permitted here
16*c8dee2aaSAndroid Build Coastguard Workerlayout(location=1) in noperspective float linearVarying;
17*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18*c8dee2aaSAndroid Build Coastguard Workererror: 3: 'in' is not permitted here
19*c8dee2aaSAndroid Build Coastguard Workerlayout(location=2) in flat float flatVarying;
20*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^
21*c8dee2aaSAndroid Build Coastguard Workererror: 3: 'flat' is not permitted here
22*c8dee2aaSAndroid Build Coastguard Workerlayout(location=2) in flat float flatVarying;
23*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^
24*c8dee2aaSAndroid Build Coastguard Workererror: 3: layout qualifier 'location' is not permitted here
25*c8dee2aaSAndroid Build Coastguard Workerlayout(location=2) in flat float flatVarying;
26*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^
27*c8dee2aaSAndroid Build Coastguard Workererror: 5: 'main' must return: 'vec4', 'float4', or 'half4'
28*c8dee2aaSAndroid Build Coastguard Workervoid main() {
29*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^
30*c8dee2aaSAndroid Build Coastguard Workererror: 6: unknown identifier 'sk_FragColor'
31*c8dee2aaSAndroid Build Coastguard Worker    sk_FragColor = half4(defaultVarying, linearVarying, flatVarying, 1.0);
32*c8dee2aaSAndroid Build Coastguard Worker    ^^^^^^^^^^^^
33*c8dee2aaSAndroid Build Coastguard Worker10 errors
34