Sign in
skia
/
skia
/
2c21a11923edd18b566b6e0897e39d12f1f4ba34
/
.
/
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
);
}
}