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