Sign in
skia
/
skia
/
77ba8103d34fc821bdbba9f2a54a7d7371d1d56f
/
.
/
tests
/
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
);
}
}