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