Sign in
dawn
/
dawn
/
388c18448936972281fdb23ffab40e9b593f4660
/
.
/
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
;
}
}
}