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