Sign in
dawn
/
dawn
/
2c4f822f9e78d491e3fa32dfee1add5b93c8be65
/
.
/
test
/
tint
/
loops
/
continue_in_switch_with_breakif.wgsl
blob: 0b65b9c08a803a7aadb3f1c6e04703e1a4aa6453 [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn f
()
{
var
i
:
i32
=
0
;
loop
{
switch
(
i
)
{
case
0
:
{
continue
;
}
default
:{
break
;
}
}
continuing
{
i
=
i
+
1
;
break
if
i
>=
4
;
}
}
}