Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
ef6bc4d7c581b8d4dfbf2cb1b2ca2f4e61607f63
/
.
/
resources
/
sksl
/
inliner
/
SwizzleCanBeInlinedDirectly.sksl
blob: 6aeff00abdb4ba6354eb4c4fd5c629db35200b2e [
file
] [
log
] [
blame
]
uniform half4 colorRed
;
half4 switchRedAndGreen
(
half4 v
)
{
return
v
.
grba
;
}
half4 main
(
float2 coords
)
{
return
switchRedAndGreen
(
switchRedAndGreen
(
switchRedAndGreen
(
colorRed
)));
}