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