unplugged-vendor/external/skia/resources/sksl/runtime_errors/InvalidShaderMain.rts

8 lines
229 B
Plaintext

// Runtime shaders require specific main signatures. Test that older signatures, or those intended
// for color filters don't work.
// Expect 2 errors
half4 main() { return half4(1); }
half4 main(half4 color) { return color; }