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