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