Sign in
dawn
/
dawn
/
refs/heads/main
/
.
/
test
/
tint
/
switch
/
switch.wgsl.expected.ir.dxc.hlsl
blob: 29be9928bd916a594137521c5d58f123883da9e9 [
file
] [
log
] [
blame
] [
edit
]
void
a
()
{
int
a_1
=
0
;
switch
(
a_1
)
{
case
0
:
{
break
;
}
case
1
:
{
return
;
}
default
:
{
a_1
=
(
a_1
+
2
);
break
;
}
}
}
[
numthreads
(
1
,
1
,
1
)]
void
unused_entry_point
()
{
}