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