Sign in
android
/
platform
/
external
/
skia
/
77cd8d8fddd0d6e5e4d784ee6e4e7fd5f2ba7234
/
.
/
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
);
}
}