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