Sign in
dawn
/
dawn
/
6016d1e5cdc913d405076b411584e1b56caef3f4
/
.
/
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
;
}
}
}