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