Sign in
skia
/
skia.git
/
647a9bd7c253140cb93c04d0741cdc71c3c7faf3
/
.
/
tests
/
sksl
/
fp
/
GrChildProcessorSampleMatrixAndCoords.fp
blob: cddf1efcfd0b1363fe43fbef0d77554c065d8a79 [
file
] [
log
] [
blame
]
uniform half4 color
;
in
fragmentProcessor
?
child
;
void
main
(
float2 coord
)
{
float3x3 matrix
=
float3x3
(
color
.
a
);
sk_OutColor
=
sample
(
child
,
matrix
);
sk_OutColor
=
sample
(
child
,
coord
/
2
);
}