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