I tried this code:
shader_type canvas_item;
void fragment() {
for (int i, i < 10, i++) {
float asdf = 1.0;
}
}
I get this error:
error(4): Expected expression, found: CF_FOR
Is there something wrong with my syntax or are for loops not implemented yet?