1cb93a386Sopenharmony_ci// Runtime shaders require specific main signatures. Test that older signatures, or those intended
2cb93a386Sopenharmony_ci// for color filters don't work.
3cb93a386Sopenharmony_ci
4cb93a386Sopenharmony_ci// Expect 4 errors
5cb93a386Sopenharmony_ci
6cb93a386Sopenharmony_cihalf4 main() { return half4(1); }
7cb93a386Sopenharmony_cihalf4 main(half4 color) { return color; }
8cb93a386Sopenharmony_cihalf4 main(float2 xy, half4 color, half4 bonusColor) { return color; }
9cb93a386Sopenharmony_cihalf4 main(half4 outOfOrderColor, float2 outOfOrderXy) { return color; }
10cb93a386Sopenharmony_ci
11cb93a386Sopenharmony_cihalf4 main(float2 xy, half4 color) { return color; }  // the correct signature is allowed
12