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