Sign in
skia
/
skia
/
c3ad6a1e59c9a293ebdc654e61d117b495599df6
/
.
/
tests
/
sksl
/
inliner
/
IfWithReturnsCanBeInlined.sksl
blob: fc534282182ccaa29d7537ed8eeaa7918cd78af7 [
file
] [
log
] [
blame
]
uniform half4 color
;
half4 branchy
(
half4 c
)
{
if
(
c
.
z
==
c
.
w
)
return
c
.
yyyy
;
else
return
c
.
zzzz
;
}
void
main
()
{
sk_FragColor
=
branchy
(
color
);
}