Sign in
dawn
/
dawn
/
db60f4d7ce62a0d2ce5e0af99b4fffffd8cf1a8d
/
.
/
test
/
tint
/
statements
/
switch
/
common.wgsl.expected.ir.fxc.hlsl
blob: 1d31f7f1d29f84ec9adbbc7f1c37b72e828bec72 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
int
i
=
int
(
0
);
int
result
=
int
(
0
);
switch
(
i
)
{
case
int
(
0
):
{
result
=
int
(
10
);
break
;
}
case
int
(
1
):
{
result
=
int
(
22
);
break
;
}
case
int
(
2
):
{
result
=
int
(
33
);
break
;
}
default
:
{
result
=
int
(
44
);
break
;
}
}
}