Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
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
)));
}