Sign in
dawn
/
dawn
/
7494e10f912c3856bc15078749ce800f4bd4e1e7
/
.
/
test
/
tint
/
statements
/
switch
/
case_default_mixed.wgsl.expected.wgsl
blob: 920b432b8954374e80b4c6ccffa95179467f1ac5 [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn f
()
{
var
i
:
i32
;
var
result
:
i32
;
switch
(
i
)
{
case
0
:
{
result
=
10
;
}
case
1
,
default
:
{
result
=
22
;
}
case
2
:
{
result
=
33
;
}
}
}