Sign in
dawn
/
dawn
/
2c4f822f9e78d491e3fa32dfee1add5b93c8be65
/
.
/
test
/
tint
/
statements
/
switch
/
case_default_mixed.wgsl.expected.ir.dxc.hlsl
blob: 3fd0197acde356dde8f5973db1b0248db6681ebb [
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
):
default
:
{
result
=
int
(
22
);
break
;
}
case
int
(
2
):
{
result
=
int
(
33
);
break
;
}
}
}