Sign in
skia
/
skia
/
445df8d11551612643a6968c88be8d84b4760817
/
.
/
tests
/
sksl
/
fp
/
GrChildProcessorAndGlobal.fp
blob: 3247733a84d6584a41db8e645e270dd48461ee44 [
file
] [
log
] [
blame
]
in
fragmentProcessor child
;
bool
hasCap
=
sk_Caps
.
externalTextureSupport
;
void
main
()
{
if
(
hasCap
)
{
sk_OutColor
=
sample
(
child
);
}
else
{
sk_OutColor
=
half4
(
1
);
}
}