Sign in
skia
/
skia
/
5e99e36be096ee00397bc80548ebe876bfc800c9
/
.
/
resources
/
sksl
/
runtime_errors
/
InvalidShaderMain.rts
blob: 3d63a36d321e0ed642adb1e6c334f8ec5af7ba94 [
file
] [
log
] [
blame
]
// 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
;
}