Sign in
skia
/
skia
/
ed92d84ffd3aeb34c92e25ecb082f089703fc0ec
/
.
/
tests
/
sksl
/
mesh
/
MeshFragment.stage
blob: d20bd09fd12e262bf2b03ec213be7b01c0f8d321 [
file
] [
log
] [
blame
]
struct
Varyings_0
{
float2 position
;
float2 coords
;
};
uniform half3x3 m
;
layout
(
color
)
uniform half4 color
;
float2 main
(
const
Varyings_0
varyings
,
out
half4 c
)
{
c
=
color
;
return
(
float3x3
(
m
)
*
float3
(
varyings
.
coords
,
1.0
)).
xy
;
}