adding loops tests
This commit is contained in:
@@ -10,8 +10,10 @@ struct FragOut
|
||||
[entry(frag)]
|
||||
fn main() -> FragOut
|
||||
{
|
||||
let value: f32 = 0.0;
|
||||
for i in 1 -> 20 {
|
||||
let value: f32 = 1.0;
|
||||
for i in 1 -> 5 {
|
||||
if (i == 3)
|
||||
continue;
|
||||
value *= f32(i);
|
||||
}
|
||||
let output: FragOut;
|
||||
|
||||
Reference in New Issue
Block a user