Sign in
skia
/
skia.git
/
refs/heads/main
/
.
/
resources
/
sksl
/
errors
/
ForLoopNEQOverflow.rts
blob: 12a6e86cbfafb4115288b7800983c7dca5648b08 [
file
] [
edit
]
half4 main
(
float2 coords
)
{
half arr
[
4
];
for
(
int
i
=
2000000000
;
i
!=
-
2000000000
;
i
+=
1000000000
)
{
arr
[
i
-
2000000000
]
=
half
(
1
);
}
return
half4
(
0
);
}
/*%%*
loop must guarantee termination in fewer iterations
*%%*/