Sign in
skia
/
skia
/
ed92d84ffd3aeb34c92e25ecb082f089703fc0ec
/
.
/
tests
/
sksl
/
runtime
/
AllowNarrowingConversions.stage
blob: 3db246ba6358d9b9eaaf32a434b5c384fc05923c [
file
] [
log
] [
blame
]
uniform half4 colorGreen
;
half4 main
(
float2 coords
)
{
half4 one
=
half4
(
1.0
);
half4 zero
=
half4
(
0.0
);
float4 green
=
float4
(
colorGreen
);
return
half4
(
half4
(
green
*
float4
(
one
)
+
float4
(
zero
)));
}