xref: /aosp_15_r20/external/skia/tests/sksl/errors/RedeclareBuiltinVariables.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Worker### Compilation failed:
2*c8dee2aaSAndroid Build Coastguard Worker
3*c8dee2aaSAndroid Build Coastguard Workererror: 3: layout qualifier 'builtin' is not permitted here
4*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=15) in float4 sk_FragCoord;
5*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^
6*c8dee2aaSAndroid Build Coastguard Workererror: 3: symbol 'sk_FragCoord' was already defined
7*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=15) in float4 sk_FragCoord;
8*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9*c8dee2aaSAndroid Build Coastguard Workererror: 4: layout qualifier 'builtin' is not permitted here
10*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=17) in bool sk_Clockwise;  // Similar to gl_FrontFacing, but defined in device space.
11*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^
12*c8dee2aaSAndroid Build Coastguard Workererror: 4: symbol 'sk_Clockwise' was already defined
13*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=17) in bool sk_Clockwise;  // Similar to gl_FrontFacing, but defined in device space.
14*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15*c8dee2aaSAndroid Build Coastguard Workererror: 6: layout qualifier 'builtin' is not permitted here
16*c8dee2aaSAndroid Build Coastguard Workerlayout(location=0,index=0,builtin=10001) out half4 sk_FragColor;
17*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18*c8dee2aaSAndroid Build Coastguard Workererror: 6: symbol 'sk_FragColor' was already defined
19*c8dee2aaSAndroid Build Coastguard Workerlayout(location=0,index=0,builtin=10001) out half4 sk_FragColor;
20*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21*c8dee2aaSAndroid Build Coastguard Workererror: 7: layout qualifier 'builtin' is not permitted here
22*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=10008) half4 sk_LastFragColor;
23*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^
24*c8dee2aaSAndroid Build Coastguard Workererror: 7: symbol 'sk_LastFragColor' was already defined
25*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=10008) half4 sk_LastFragColor;
26*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27*c8dee2aaSAndroid Build Coastguard Workererror: 8: layout qualifier 'builtin' is not permitted here
28*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=10012) out half4 sk_SecondaryFragColor;
29*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^
30*c8dee2aaSAndroid Build Coastguard Workererror: 8: symbol 'sk_SecondaryFragColor' was already defined
31*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=10012) out half4 sk_SecondaryFragColor;
32*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33*c8dee2aaSAndroid Build Coastguard Workererror: 11: layout qualifier 'builtin' is not permitted here
34*c8dee2aaSAndroid Build Coastguard Workerlayout (builtin=123) in float mysteryIn;
35*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^
36*c8dee2aaSAndroid Build Coastguard Workererror: 12: layout qualifier 'builtin' is not permitted here
37*c8dee2aaSAndroid Build Coastguard Workerlayout (builtin=456) out float mysteryOut;
38*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^^^^^
39*c8dee2aaSAndroid Build Coastguard Workererror: 13: layout qualifier 'builtin' is not permitted here
40*c8dee2aaSAndroid Build Coastguard Workerlayout (builtin=789) float mysteryGlobal;
41*c8dee2aaSAndroid Build Coastguard Worker^^^^^^^^^^^^^^^^^^^^
42*c8dee2aaSAndroid Build Coastguard Worker13 errors
43