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