Sign in
skia
/
skia.git
/
refs/heads/main
/
.
/
resources
/
sksl
/
errors
/
ForLoopOverflow.rts
blob: e73a1f947909ef403abd8662b28ea13e7590cb92 [
file
] [
edit
]
half4 main
(
float2 coords
)
{
half arr
[
4
];
for
(
int
i
=
2147483640
;
i
<
2147483647
;
i
+=
100
)
{
arr
[
i
-
2147483640
]
=
half
(
1
);
}
return
half4
(
0
);
}
/*%%*
loop must guarantee termination in fewer iterations
*%%*/