Sign in
dawn
/
dawn
/
563fe25db020e87742d09b0a11db3ec423fa5285
/
.
/
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
;
}
}
}