Sign in
dawn
/
tint
/
6d60c046e80acbe10c002d4322e0a20a58b9a416
/
.
/
test
/
unittest
/
reader
/
spirv
/
SpvParserCFGTest_EmitBody_BranchConditional_SwitchBreak_Fallthrough_OnFalse.spvasm.expected.wgsl
blob: 205de3c5ba265e436ca76fc5e1e3126edb18a924 [
file
] [
log
] [
blame
]
var
<private>
var_1
:
u32
;
fn main_1
()
{
var_1
=
1u
;
switch
(
42u
)
{
case
20u
:
{
var_1
=
20u
;
if
(
false
)
{
break
;
}
fallthrough
;
}
case
30u
:
{
var_1
=
30u
;
}
default
:
{
}
}
var_1
=
7u
;
return
;
}
[[
stage
(
fragment
)]]
fn main
()
{
main_1
();
}