Sign in
skia
/
skia
/
b746b1f59851b7af10fe91b4974872ec98b34d7f
/
.
/
tests
/
sksl
/
fp
/
GrChildProcessorFieldAccess.fp
blob: 5ad93ff6625b8fc1197e58cc75a0c1fbf855a0e5 [
file
] [
log
] [
blame
]
in
fragmentProcessor child
;
bool
opaque
=
child
.
preservesOpaqueInput
;
half4 main
()
{
if
(
opaque
)
{
return
sample
(
child
);
}
else
{
return
half4
(
0.5
);
}
}