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