Sign in
skia
/
skia
/
ed92d84ffd3aeb34c92e25ecb082f089703fc0ec
/
.
/
tests
/
sksl
/
runtime
/
ColorConversion.minified.sksl
blob: 09e62c32b1ad139d0245dc54888b9d45cc31ada3 [
file
] [
log
] [
blame
]
uniform shader child
;
half4 main
(
float2 a
){
half4 b
=
child
.
eval
(
a
);
b
.
xyz
=
toLinearSrgb
(
b
.
xyz
);
b
.
zx
=
b
.
xz
*.
75
;
return
half4
(
fromLinearSrgb
(
b
.
xyz
),
b
.
w
);}