Sign in
dawn
/
dawn
/
c872e6a5520f3fd3f33bb2ed04a8703755b87301
/
.
/
test
/
tint
/
loops
/
continue_in_switch.wgsl.expected.msl
blob: 494b64af8c4c23349f188833bf7e2b223f50d88f [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
for
(
int
i
=
0
;
(
i
<
4
);
i
=
as_type
<int>
((
as_type
<uint>
(
i
)
+
as_type
<uint>
(
1
))))
{
switch
(
i
)
{
case
0
:
{
continue
;
break
;
}
default
:
{
break
;
}
}
}
return
;
}