Sign in
skia
/
skia
/
ed92d84ffd3aeb34c92e25ecb082f089703fc0ec
/
.
/
tests
/
sksl
/
runtime
/
ColorConversion.stage
blob: f4146973430923dad57bb173d22dad6714a157ab [
file
] [
log
] [
blame
]
half4 main
(
float2 xy
)
{
half4 color
=
child_0
.
eval
(
_coords
);
color
.
xyz
=
toLinearSrgb
(
color
.
xyz
);
color
.
zx
=
color
.
xz
*
0.75
;
return
half4
(
half4
(
fromLinearSrgb
(
color
.
xyz
),
color
.
w
));
}