Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
third_party
/
skia_next
/
third_party
/
skia
/
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
)));
}