Sign in
dawn
/
dawn
/
efd781b42ae5e2c12a5ae81af6c22f09b955eed2
/
.
/
test
/
tint
/
statements
/
switch
/
case_default.wgsl
blob: c7ffc49fbecbed9b3ce4c121ac08f383e6d80483 [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn f
()
{
var
i
:
i32
;
var
result
:
i32
;
switch
(
i
)
{
case
default
:
{
result
=
10
;
}
case
1
:
{
result
=
22
;
}
case
2
:
{
result
=
33
;
}
}
}