Sign in
dawn
/
dawn
/
1b6ebd0cf557c8e8f51f1874ff1d13bddfdf8330
/
.
/
test
/
tint
/
switch
/
switch.wgsl.expected.ir.msl
blob: bca1c72baa5013aef7de3587409e20569f4bf7a1 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
void
a
()
{
int
a_1
=
0
;
switch
(
a_1
)
{
case
0
:
{
break
;
}
case
1
:
{
return
;
}
default
:
{
a_1
=
(
a_1
+
2
);
break
;
}
}
}