Sign in
dawn
/
dawn
/
012551ad6f7f23d8f885429bc1f3a1c399dcd32a
/
.
/
test
/
tint
/
switch
/
switch.wgsl.expected.msl
blob: e25b13d0d0a536880244e7a64b7dfb014b883c2d [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
void
a
()
{
int
a_1
=
0
;
switch
(
a_1
)
{
case
0
:
{
break
;
}
case
1
:
{
return
;
break
;
}
default
:
{
a_1
=
as_type
<int>
((
as_type
<uint>
(
a_1
)
+
as_type
<uint>
(
2
)));
break
;
}
}
}