Sign in
skia
/
skia
/
d20a1097e809138101e3ee4b32f399f22f1e5b00
/
.
/
resources
/
sksl
/
shared
/
ArrayConstructors.sksl
blob: 389195613938f24f897d8240d70271f3d82a5515 [
file
] [
log
] [
blame
]
float
test1
[
4
]
=
float
[
4
](
1
,
2
,
3
,
4
);
float2 test2
[
2
]
=
float2
[
2
](
float2
(
1
,
2
),
float2
(
3
,
4
));
float4x4 test3
[
1
]
=
float4x4
[
1
]();
void
main
()
{
sk_FragColor
.
r
=
half
(
test1
[
0
]
+
test2
[
0
].
x
+
test3
[
0
][
0
][
0
]);
}