Sign in
skia
/
skia
/
refs/heads/main
/
.
/
resources
/
sksl
/
mesh
/
MeshFragmentWithColorFilter.mfrag
blob: 858b71039014763bb80e1a0098eb0bdfb7141f77 [
file
] [
log
] [
blame
]
struct
Varyings
{
float2 position
;
float4 color
;
};
uniform colorFilter myColorFilter
;
float2 main
(
const
Varyings
vary
)
{
return
myColorFilter
.
eval
(
vary
.
color
).
xy
;
}
/*%%*
effects are not permitted in custom mesh shaders
*%%*/