Sign in
dawn
/
dawn
/
78ae4c243b6b99aee36661b1bf4c20be38122c1b
/
.
/
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
;
}
}
}