xref: /aosp_15_r20/external/skia/tests/sksl/errors/DuplicateBuiltinFunction.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1### Compilation failed:
2
3error: 1: '$pure' is not permitted here
4$pure half cross_length_2d(half2,half2) {}
5^^^^^
6error: 1: function 'cross_length_2d' can exit without returning a value
7$pure half cross_length_2d(half2,half2) {}
8                                        ^^
92 errors
10