Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
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
()
{
}