Sign in
dawn
/
dawn
/
9be037cf1bcbd4a37d083d079f4e457e2b7f5182
/
.
/
test
/
tint
/
statements
/
switch
/
case_default_mixed.wgsl
blob: e28b24acc6e29e5629ab372f215440b2cba737fd [
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
;
}
}
}