Sign in
dawn
/
dawn
/
1e8be0f3009ce42eadbc7d9add497cf0ed543c29
/
.
/
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
;
}
}
}