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