Sign in
skia
/
skia
/
f6cc85844f15116ce9074acb90f3f262a77cb0e5
/
.
/
resources
/
sksl
/
fp
/
GrChildProcessorSampleMatrixAndCoords.fp
blob: faeaa95b3acff55553d6885a9ea99aa6c669e88d [
file
] [
log
] [
blame
]
uniform half4 color
;
in
fragmentProcessor child
;
half4 main
(
float2 coord
)
{
float3x3 matrix
=
float3x3
(
color
.
a
);
return
sample
(
child
,
matrix
)
*
sample
(
child
,
coord
/
2
);
}