Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / resources / sksl / runtime_errors / InvalidColorFilterMain.rtcf
1 // Runtime color filters require specific main signatures. Test that older signatures, or those
2 // intended for shaders don't work.
3
4 // Expect 4 errors
5
6 half4 main() { return half(1); }
7 half4 main(float2 coord) { return half4(1); }
8 half4 main(float2 coord, half4 color) { return color; }
9 half4 main(half4 color, half4 bonusColor) { return color; }
10
11 half4 main(half4 color) { return color; }  // the correct signature is allowed
12
13 /*%%*
14 'main' parameter must be 'vec4', 'float4', or 'half4'
15 'main' parameter must be 'vec4', 'float4', or 'half4'
16 'main' parameter must be 'vec4', 'float4', or 'half4'
17 unknown identifier 'color'
18 'main' parameter must be 'vec4', 'float4', or 'half4'
19 unknown identifier 'color'
20 *%%*/