Sign in
skia
/
skia
/
refs/tags/canvaskit/0.27.0
/
.
/
resources
/
sksl
/
fp
/
GrChildProcessorAndGlobal.fp
blob: 2c70f937e4ea3f07ea78797ae569cb94aa2e0673 [
file
] [
log
] [
blame
]
in
fragmentProcessor child
;
bool
hasCap
=
sk_Caps
.
externalTextureSupport
;
half4 main
()
{
if
(
hasCap
)
{
return
sample
(
child
);
}
else
{
return
half4
(
1
);
}
}